Button Controls
Button controls function as push buttons and usually contain labels. Common uses include creating standard OK, Cancel, and Exit buttons for dialogs.
Creating
| Mnemonic |
Description |
|
'BUTTON'
|
Create a Push Button Control
|
Manipulating
| Mnemonic |
Description |
| 'TITLE'
|
Set Control Title. Including the '&' before a character in the title causes it to be an accelerator. |
Querying
| CTRL() Function |
Information Returned |
| 'TITLE'
|
Set Control Title. Including the '&' before a character in the title causes it to be an accelerator. |
| 0 |
Outer rectangle of the control in current scaled units. |
| 1 |
Control title. |
| 4 |
Control class and type. |
| 8 |
Visible/invisible and enabled/disabled status of the control. |
| 15 |
Background color of the control. |
| 16 |
Foreground color of the control. |