Description: | Form objects define the windows of PowerCOBOL applications. They are the containers in which you place controls. They define default properties, support window-related methods and receive window-directed events. | |||
Notes: | You close forms using the CloseForm or Deactivate method. Do not invoke other methods after invoking these methods. | |||
Sample images: | | |||
Properties: | ActiveControl Appearance BackColor BorderStyle Caption ClientHeight ClientWidth CommandButton- FunctionKeyMode CommandLine ControlBox Controls DisabledFocusAction | DelayedFocusEvent Enabled Font ForeColor Height Highlight HighlightColor Icon IconName Left MaxButton MenuBarName MinButton | MouseIconName MousePointer Moveable MultipleInstance Name OptionButton- Printable RestoreFocus- Scalable ScaleMode | ShowStatusbar StartUpPosition StatusText TitleBar ToolboxBitmap Top Topmost Visible Width WindowState |
Methods: | Activate Alarm CallForm CallForm2 CloseForm ConvertScale | Deactivate DisplayMessage DoModal DoModal2 Execute ExecuteSync | GetFileName GetFolderName GetScreenSize GetWorkArea MoveForm OpenForm | PopupMenu Refresh ShowForm ThruEvents |
Events: | Click CloseChild Closed DblClick KeyDown | KeyPress KeyUp MouseDown MouseMove MouseUp | Opened PowerBroadcast PreKeyDown PreKeyPress | PreKeyUp QueryClose Resized |
Corresponding Control in PowerCOBOL V3.0 or earlier: | Sheet |