|
|
|
|
|
ButtonType (Property) In french: TypeBouton
The ButtonType property gets and sets the type of a Button control: Cancelation, Interruption, Validation, ... Remark: This property corresponds to the "Type" option available in the "UI" tab of the description window of a Button control. B1 is Control B1 <- ControlCreate("B1", typButton, 100, 50, 32, 32) B1.ButtonType = 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|