Form

 

  TAForm

 

Properties

Caption Form title text.
ClientHeight Height of client area in pixels.
ClientWidth Width of client area in pixels.
Color This property define form backround color.
ContextMenu Allow to attach ContextMenu to the form. ContextMenu should be created first.
Cursor This property define what cursor will be showed when mouse over the control.
Desription Allowed to enter form desription. This text is for internal use, for example this showed in templates gallery.
Enabled This property not used for form.
Font This property allow to set font properties - color, font face, size and bold/italic/underline/strikeout attributes.
Hint This property containing text that will appear when mouse cursor is over control. This will add GUICtrlSetTip(-1, "Your hint text") line. Note: don't forget to set ShowHint property to make hint visible.
Icon Form icon.
Left, Top Position of control relative to it's parent.
Width, Height Size of control in pixels.
Menu Allow to attach Menu to the form. Menu should be created first.
Name Unique name of control, this define name of variable, where control ID will kept. It also can be empty, in this case variable will not generate.
OnClose Standard form event.
OnMaximize Form event (only for OnEvent mode).
OnMinimize Form event (only for OnEvent mode).
OnRestore Form event (only for OnEvent mode).
Position Position of form.
poDesigned - absolute position
poDesktopCenter - in desktop center
ShowHint This property enable hint showing.
TrayMenu Allow to attach TrayMenu to the form. TrayMenu should be created first.
Visible This is True by default. Set it to False to generate hidden form (in this case generator will not add GUISetState(@SW_SHOW) line.

 

Remarks

None.