Assembly: Ms;
The IModelBox interface contains properties and methods of the ModelBox development environment component.
IComponent
IControl
IModelBox
| 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 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. |
| 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. |
| 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 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. |
See also: