The ModelBox class implements the ModelBox development environment component used for displaying of panels for setting up the modeling container.
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. |
Property name | Brief description | |
Align | The Align property determines component alignment within its parent component. | |
AllowDrag | The AllowDrag property determines whether the dragged object can be taken from the component. | |
AllowDrop | The AllowDrop property determines whether the component can take the dragged object. | |
Anchors | The Anchors property returns the settings that determine the percentage of size change of the current component when the parent component size changes. | |
Brush | The Brush property determines a brush used for component area fill. | |
ClientHeight | The ClientHeight property determines a component client area height. | |
ClientWidth | The ClientWidth property determines a component client area width. | |
Color | The Color property determines a component background color. | |
Cursor | The Cursor property determines a type of cursor displayed on mouseover on the component during form execution. | |
Enabled | The Enabled property determines whether a component is available for the user. | |
Focused | The Focused property returns True if this component is focused. | |
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 of context-dependent help section for this component. | |
Hint | The Hint property determines a tooltip text displayed on mouseover on the component. | |
HintTimeout | The HintTimeout property determines tooltip display time. | |
Left | The Left property determines a coordinate of the component's left edge in pixels. | |
Parent | The Parent property determines a parent component. | |
ParentColor | The ParentColor property determines whether a parent component color will be used for the component. | |
ParentFont | The ParentFont property determines whether a parent component font will be used for the component. | |
ParentShowHint | The ParentShowHint property determines when a tooltip is displayed. | |
PopupMenu | The PopupMenu property determines a context menu that will be displayed on right mouse click on the component. | |
Scrolls | The Scrolls property returns component scrollbar parameters. | |
ShowHint | The ShowHint property determines whether a tooltip is displayed on mouseover on the component. | |
TabOrder | The TabOrder property determines a component position in the tab sequence. | |
TabStop | The TabStop property determines whether the component should get focus on clicking the Tab button. | |
Text | The Text property determines a string that identifies the component for the user. | |
Top | The Top property determines a coordinate of the component's top edge in pixels. | |
Visible | The Visible property determines component visibility during for execution. | |
Width | The Width property determines horizontal size of the component in pixels. |
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 property, 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. |
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. |
Method name | Brief description | |
ClientToScreen | The ClientToScreen method transforms coordinates of the point specified relative to the component coordinate system into screen coordinates. | |
DoDragDrop | The DoDragDrop method starts drag-and-drop operation. | |
GetImage | The GetImage method returns component's graphic image with all child components. | |
ScreenToClient | The ScreenToClient method transforms point's screen coordinates to coordinates specified relative to the component coordinate system. | |
SetFocus | The SetFocus method sets focus on this component. |
Event name | Brief description | |
OnEditObject | The OnEditObject event occurs on opening a model for edit. | |
OnUpdate | The OnUpdate event occurs on changing model parameters. |
Event name | Brief description | |
The OnBeginDrag event occurs for a component, when a user starts to drag an object from the component. | ||
The OnClick event occurs if the user clicks the component area. | ||
The OnControlMove event occurs when a component is moved. | ||
The OnControlResize event occurs when a component is resized. | ||
The OnDblClick event occurs if the user double-clicks the component area. | ||
The OnDragDrop event occurs for a component if a user drops a dragged object over it. | ||
The OnDragEnter event occurs when a dragged object enters the component area. | ||
The OnDragLeave event occurs when a dragged object leaves the borders of this component. | ||
The OnDragOver event occurs for a component when a user drags a dragged object over it. | ||
The OnEnter event occurs when a component receives focus. | ||
The OnExit event occurs when a component loses focus. | ||
The OnHScroll event occurs when horizontal scrollbar slider changes its position. | ||
The OnKeyDown event occurs if the component is focused and a keyboard key is pressed. | ||
The OnKeyPress event occurs if a component is focused when a user presses a character key. | ||
The OnKeyPreview event occurs prior to each event requiring clicking. | ||
The OnKeyUp event occurs if a component is focused and a user releases any button previously pressed. | ||
The OnMouseDown event occurs when the pointer is in component area and a mouse button is pressed. | ||
The OnMouseEnter event occurs when mouse cursor enters the component area. | ||
The OnMouseHover event occurs when mouse cursor is held in the component area. | ||
The OnMouseLeave event occurs when mouse cursor leaves the component area. | ||
The OnMouseMove event occurs on moving the cursor over component. | ||
The OnMouseUp event occurs on releasing mouse button when the cursor is in component area. | ||
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated. | ||
The OnVScroll event occurs when position of vertical scrollbar slider is changed. |
See also: