|
|
|
|
|
ButtonType (Property) In french: TypeBouton
The property ButtonType property lets you know and modify the type of a Button control: Cancel, Interrupt, Validate, etc. Note: This property corresponds to the "Type" option available in the "UI" tab of the Button control description window. B1 is Control
B1 <- ControlCreate("B1", typButton, 100, 50, 32, 32)
B1.TypeBouton = btnInterruption
Syntax
Getting the type of a button Hide the details
<Result> = <Button control>.ButtonType
<Result>: Integer constant Type of button:
| | btnCancel | Cancel button. | btnHelp | Help button. | btnInterruption | Interruption button. | btnNormal | Normal button. | btnValidate | Validation button. |
<Button control>: Control name Name of Button control to use.
Changing the type of a button Hide the details
<Button control>.ButtonType = <New type>
<Button control>: Control name Name of Button control to use. <New type>: Integer constant Type of button:
| | btnCancel | Cancel button. | btnHelp | Help button. | btnInterruption | Interruption button. | btnNormal | Normal button. | btnValidate | Validation button. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|