PushButton.
Tests whether a pushbutton on a toolbar is pressed.
This method is available only for tool bar pushbuttons in a 32-bit Windows application.
bTest = pushbutton.IsPressed()
Variable | Description |
---|---|
bTest | TRUE if the pushbutton is pressed. BOOLEAN. |
IsPressed must be preceded by the PressMouse method (with bRawEvent set to TRUE).
Unlike other pushbuttons, certain pushbuttons on a tool bar can remain pressed. IsPressed tests for this state. The pressed state is not the same as the checked state. ToolBar controls that support the checked state are associated with the CheckBox class, not the PushButton class.