ModelBox

Description

The ModelBox class implements the ModelBox development environment component that is used to display modeling container setup panels.

Properties

  Property name Brief description
BorderStyle The BorderStyle property determines component border style.
IsDirty The IsDirty property returns whether a model displayed by the component is changed.
Model The Model property determines the UiModel component that will be used as a data source.
Pads The Pads property returns a collection of toolbars used to set up model parameters.
ParametersSelectionSet The ParametersSelectionSet property determines element selection in free dimensions of the output variable.
ResultsViewScenario The ResultsViewScenario property determines the key of the scenario, by which the model is calculated.
ResultsViewSelectionSet The ResultsViewSelectionSet property determines the elements selection of end-to-end dimensions of the output variable.

Properties inherited from IControl

  Property name Brief description
Align The Align property determines component alignment within its parent component.
AllowDrag The AllowDrag property determines whether an object can be dragged from the component.
AllowDrop The AllowDrop property determines whether the component can receive a dragged object.
Anchors The Anchors property returns settings determining percentage of the resizing for the current component on resizing the parent component.
Brush The Brush property determines the brush that is used to fill the component area.
ClientHeight The ClientHeight property determines the height of the client component area.
ClientWidth The ClientWidth property determines the width of the client component area.
Color The Color property determines the component background color.
Cursor The Cursor property determines how the cursor looks like when it is hovered over the component at the form runtime.
Enabled The Enabled property determines whether the component is available for the user.
Focused The Focused property returns True if the focus is set to the component.
Font The Font property determines parameters of the font that is used to display text in the component.
Height The Height property determines component height in pixels.
HelpContext The HelpContext property determines a unique index for a section of a context help for this component.
Hint The Hint property determines the tooltip text displayed if the cursor is hovered over the component.
HintTimeout The HintTimeout determines the time, for which the tooltip is displayed.
Left The Left property determines the coordinate of the component left edge in pixels.
Parent The Parent property determines a parent component.
ParentColor The ParentColor property determines whether the component inherits the color of the parent component.
ParentFont The ParentFont property determines whether the component must use the font of the parent component.
ParentShowHint The ParentShowHint property determines when a tooltip is displayed.
PopupMenu The PopupMenu property determines the context menu displayed when the component is clicked using the right mouse button.
Scrolls The Scrolls property returns parameters of component scrollbars.
ShowHint The ShowHint property determines whether a tooltip will be displayed when the cursor is hovered over the component.
TabOrder The TabOrder property determines the position of the component in a tab order.
TabStop The TabStop property determines whether the focus is set to the component when the Tab button is pressed.
Text The Text property determines the row identifying the component for the user.
Top The Top property determines the coordinate of the component upper edge in pixels.
Visible The Visible property determines whether the component is displayed when a form is executed.
Width The Width property determines the horizontal size of the component in pixels.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The Tag property is not used by the compiler. The user can change the value of this property and use it at his own discretion.

Methods

  Method name Brief description
Apply The Apply method applies parameters defined in ModelBox to the model used as a data source.
Execute The Execute method calculates the model and updates the ModelBox component.
Export The Export method exports a model displayed in the component to a regular report.
SaveObject The SaveObject method saves changes made in parameters of the model displayed in the component.

Methods inherited from IControl

  Method name Brief description
ClientToScreen The ClientToScreen method converts the point coordinates specified relative to the component coordinate system to screen coordinates.
DoDragDrop The DoDragDrop method starts dragging.
GetImage The GetImage method returns a graphic view of the component together with all child components.
ScreenToClient The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system.
SetFocus The SetFocus method sets focus to this component.

Events

  Event name Brief description
OnEditObject The OnEditObject event occurs on opening a model for edit.
OnUpdate The OnUpdate event occurs on changing model parameters.

Events inherited from IControl

  Event name Brief description
OnBeginDrag The OnBeginDrag event occurs for the component when the user starts to drag an object from the component.
OnClick The OnClick event occurs if the user clicks the component area.
OnControlMove The OnControlMove event occurs when the component is moved.
OnControlResize The OnControlResize event occurs when the component is resized.
OnDblClick The OnDblClick event occurs if the user double-clicks the component area.
OnDragDrop The OnDragDrop event occurs for the component if the user drops a dragged object over it.
OnDragEnter The OnDragEnter event occurs when a dragged object enters the component area.
OnDragLeave The OnDragLeave event occurs when a dragged object leaves the borders of this component.
OnDragOver The OnDragOver event occurs for the component when the user drags an object over it.
OnEnter The OnEnter event occurs when the component receives focus.
OnExit The OnExit event occurs when the component loses focus.
OnHScroll The OnHScroll event occurs when horizontal scrollbar slider changes its position.
OnKeyDown The OnKeyDown event occurs if the component is focused and a keyboard key is pressed.
OnKeyPress The OnKeyPress event occurs if the component is focused when the user presses a character key.
OnKeyPreview The OnKeyPreview event occurs prior to each event requiring clicking.
OnKeyUp The OnKeyUp event occurs if the component is focused and the user releases any button previously pressed.
OnMouseDown The OnMouseDown event occurs if the pointer is in the component area and a mouse key is pressed.
OnMouseEnter The OnMouseEnter event occurs when mouse cursor enters the component area.
OnMouseHover The OnMouseHover event occurs when mouse cursor is held in the component area.
OnMouseLeave The OnMouseLeave event occurs when mouse cursor leaves the component area.
OnMouseMove The OnMouseMove event occurs when the cursor is moved over the component.
OnMouseUp The OnMouseUp event occurs when the mouse button is released and the cursor is in the component area.
OnMouseWheel The OnMouseWheel event occurs if the component is focused when the user rotates a mouse wheel.
OnVScroll The OnVScroll event occurs when position of vertical scrollbar slider is changed.

See also:

Ms Assembly Classes