|
|
|
|
|
Pushed (Property) In french: Enfoncé
The Pushed property is used to get and change the state of a two-state button (pressed or released).
// Press BTN_Button1 BTN_Button1.Pushed = True  // Modify window size IF BTN_Detail.Pushed = True THEN WIN_Window1.Height = 400 ELSE WIN_Window1.Width = 200 END
Syntax
Getting the state of an on/off Button control Hide the details
<Result> = <Button control>.Pushed
<Result>: Boolean - True if the Button control is pressed,
- False otherwise.
<Button control>: Control name Name of the on/off Button control ("On/Off button" checked in the "UI" tab of the control description).
Modifying the state of an on/off Button control Hide the details
<Button control>.Pushed = <New state>
<Button control>: Control name Name of the on/off Button control ("On/Off button" checked in the "UI" tab of the control description). <New state>: Boolean - True if the Button control must be pressed,
- False if the Button control must be in its normal state.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|