Assembly: Forms;
Namespace: Prognoz.Platform.Interop.Forms
The Form class is used to create the custom forms.
Class to get analog of the Form class:
Prognoz.Platform.Interop.Forms.FormClassClass
Class to get analog of the Form class object:
Prognoz.Platform.Interop.Forms.FormClass_2
| Property name | Brief description | |
| The CreateForm designer creates a new form. |
| Property name | Brief description | |
| The Active property returns parameters of the form that is active at the given moment. | ||
| The MakeShortcut property returns a value that corresponds to the combination of "hot keys" that should be assigned for any action. |
| Property name | Brief description | |
| The ActiveControl property determines the component that was the last focused component on the form. | ||
| The BorderStyle property determines the component border style. | ||
| The Constraints property sets constraints on the component sizes in pixels. | ||
| The Icon property determines the custom icon that is displayed in the form header. | ||
| The MainMenu property determines main menu of the form. | ||
| The MaxTabLength property determines the maximum acceptable header length of the MDI child form. If this length is exceeded in the header of tab that corresponds to this form, the reduced header is displayed. | ||
| The MDIActive property determines the MDI child form that is active at the given moment. | ||
| The MDIChildCount property returns the number of the MDI child forms. | ||
| The MDIChildren property returns parameters of the MDI child form. | ||
| The MDITabLocation property determines location of the tabs of the MDI child windows in the area of the MDI main form. | ||
| The MDITabMenu property determines context menu that is called in the area of tabs that correspond to the MDI child forms. | ||
| The ModalResult property determines result of the form execution. | ||
| The ParentWindow property returns a parent window. | ||
| The Position property determines position of the form window on the screen. | ||
| The Resources property determines the object-resources from which the text and graphic values are taken for the components of the form. | ||
| The ShowOnTaskbar property determines whether icon of the form is displayed in the taskbar during form execution. | ||
| The ToolbarPopupMenu property determines context menu that appears on clicking the additional mouse button in the main menu area or in the form toolbars area. | ||
| The TopMost property determines how the form is placed relative to other windows during its execution. | ||
| The WindowState property determines state of the form on the screen during launching. | ||
| The WindowStyle property determines the form style. |
| Property name | Brief description | |
| The Align property determines component alignment within its parent component. | ||
| The AllowDrag property determines whether an object can be dragged from a component. | ||
| The AllowDrop property determines whether a component can accept a dragged object. | ||
| The Anchors property returns settings determining % of the size change for the current component when the parent component is resized. | ||
| The Brush property specifies the brush used to fill the component area. | ||
| The ClientHeight property determines the height of the client component area. | ||
| The ClientWidth property determines the width of the client component area. | ||
| The Color property determines the background color of a component. | ||
| The Cursor property determines how the cursor looks like when you hover over a component during form execution. | ||
| The Enabled property determines whether a component is available for a user. | ||
| The Focused property returns True if the given component is focused. | ||
| The Font property defines the parameters of the font used to display text in a component. | ||
| The Heigth property determines the component height (pixels). | ||
| The HelpContext property determines the unique index for a section of a context help for this component. | ||
| The Hint property determines the tip text displayed if you hover over a component. | ||
| The HintTimeout property sets for how long the tooltip is shown. | ||
| The Left property determines the coordinate of the component left edge (pixels). | ||
| The Parent property determines the parent component. | ||
| The ParentColor property determines whether a component inherits the color of the parent component. | ||
| The ParentFont property determines whether a component should use the font of the parent component. | ||
| The ParentShowHint property determines when a tooltip is displayed. | ||
| The PopupMenu property determines the context menu displayed when a component is clicked using the right mouse button. | ||
| The Scrolls property returns parameters of component's scroll bars. | ||
| The ShowHint property determines whether a tooltip should be displayed when you hover over a component. | ||
| The TabOrder property determines the position of a component in a tab order. | ||
| The TabStop property determines whether the focus is set to a component when the Tab button is pressed. | ||
| The Text property determines the row identifying a component for a user. | ||
| The Top property determines the coordinate of the component upper edge (pixels). | ||
| The Visible property determines whether a component is displayed at the form runtime. | ||
| The Width property determines the horizontal size of a component (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 child property, the index of which is passed by the input parameter. | |
| Data | The Data property is used to store any custom data. | |
| Name | The Name property specifies the component name. | |
| Tag | The compiler does not use the Tag property. A user can change the value of the Tag property and use it as he wishes. |
| Method name | Brief description | |
| BeginOperation | The BeginOperation method activates status line in which the text, timer and animated process indicator are displayed. | |
| BeginUpdate | The BeginUpdate method deactivates the form rerendering. | |
| Close | The Close method closes a form. | |
| EndOperation | The EndOperation method deactivates the process indicator. | |
| EndUpdate | The EndUpdate method renews the form repainting. | |
| EnterContextHelpMode | The EnterContextHelpMode method turns a form in the help display mode. | |
| FreeComponent | The FreeComponent method allows to remove a component visually. | |
| LoadState | The LoadState method loads parameters of the form control elements from the registry. | |
| MDICascade | The MDICascade method places all child windows in the cascade mode. | |
| MDIIconArrange | The MDIIconArrange method arranges all minimized MDI child forms. | |
| MDIMaximize | The MDIMaximize method maximizes the specified MDI child form within the parent form. | |
| MDIMinimize | The MDIMinimize method minimizes the specified MDI child form within the parent form. | |
| MDINext | The MDINext method activates a window of the next MDI child form. | |
| MDIPrev | The MDIPrev method activates a window of the previous MDI child form. | |
| MDIRestore | The MDIRestore method restores the initial sizes of the window of the specified MDI child form. | |
| MDITile | The MDITile method forms all child windows in the specified order. | |
| PostCommand | The PostCommand methods enables sending a command to the form. | |
| SaveState | The SaveState method saves parameters of the form control elements in the registry. | |
| SendCommand | The SendCommand method enables sending a command to the form and get result of its execution. | |
| SetOperationText | The SetOperationText method changes the text that is displayed in the status line. | |
| ShowModal | The ShowModal method allows to open a modal form for which this method is called. |
| Method name | Brief description | |
| Outdated. The BringToFront method sends a component to the foreground. | ||
| The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates. | ||
| The DoDragDrop method allows to start dragging. | ||
| The GetImage method returns a graphic presentation of a component together with all children. | ||
| The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system. | ||
| Outdated. The SendToBack method is used to send a component to the background. | ||
| The SetFocus method sets focus to this component. |
| Event name | Brief description | |
| The OnActivate event occurs when the form or one of its child components receives focus. | ||
| The OnClose event occurs directly before form closing. | ||
| The OnCloseQuery event occurs when the form receives a command for closing. | ||
| The OnCommand event occurs when a command is sent to this form from another one. | ||
| The OnCreate event occurs directly during form creation. | ||
| The OnDeactivate event occurs when the form or one of its child components loses focus. | ||
| The OnHelp event occurs when the component is pressed, if the mode of help displaying is active or on pressing the F1 button for the active component. | ||
| The OnHide event occurs directly before form becomes invisible. | ||
| The OnMDIActivate event occurs when the active MDI child form is changed. | ||
| The OnMDIClose event occurs before the MDI child form is closed. | ||
| The OnResize event occurs after the form size has been changed. | ||
| The OnShow event occurs directly before displaying the form on the screen. |
| 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 a user clicks a component area using the main mouse button. | ||
| The OnControlMove event occurs when a component is moved. | ||
| The OnControlResize event occurs when a component is resized. | ||
| The OnDblClick event occurs if a user double clicks a component area using the mouse button. | ||
| 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 space of this component. | ||
| The OnDragLeave event occurs when a dragged object leaves the borders of this component. | ||
| The OnDragOver event occurs for this component when a user drags a dragged object over it. | ||
| The OnEnter event occurs when a component get focused. | ||
| The OnExit event occurs when a component loses focus. | ||
| The OnHScroll event occurs on changing position of horizontal scrollbar slider. | ||
| The OnKeyDown event occurs if a 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 when the mouse cursor moves over a 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 on changing position of vertical scrollbar slider. |
See also: