|
TAButton |
Creates a button control on the form.
| Properties: | |
| Caption | This property contains text that will be visible on form. |
| ContextMenu | Allow to attach a ContextMenu to the control. ContextMenu must be created first. |
| Cursor | This property define what cursor will be showed when mouse over the control. |
| Enabled | This is True by default. Set it to False to generate disabled control. This will add GUICtrlSetState(-1, $GUI_DISABLE) line. |
| Font | This property allow to set font properties - color, font face, size and bold/italic/underline/strikeout attributes. |
| Left,Top | Position of control relative to it's parent. |
| Width,Height | Size of control in pixels. |
| Hint | This property containing text that will appear when mouse cursor is over control. This will add GUICtrlSetTip(-1, "Your hint text") line. |
| HotKey | This property allow to set hotkey for this item. |
| Name | Unique name of control, this defines the name of variable where control ID will be kept. It also can be empty, when no variable will be created. |
| OnClick | Standard control event. |
| Picture | Assign an image to button. This disables caption, because AutoIt does not support both picture and text in a button. |
| Resizing | This property define contol resizing. |
| TabOrder | This property define in which order controls will be created. This is meaningful when you want switch between controls with Tab key. You also can use TabOrder Visual Editor. Tab order starts from 0. |
| Visible | This is True by default. Set it to False to generate hidden control. This will add GUICtrlSetState(-1, $GUI_HIDE) line. |
Note that for colored button you can't set pictures nor styles. This is limitation of the current Autoit coloring code implementation.
None.