isToggleButton

isToggleButton determines whether the button is released automatically or remains pressed until another click.

Form XML code:

<Button text="Toggle Button"identifier="bt1"isToggleButton="true">
By default, isToggleButton is set implicitly to false and is absent from the form XML code. The property value will appear in the form XML code only once it is set explicitly.

Possible values:

true, false

Default value:

false

Associated containers and widgets:

Button

Associated ui methods:

SetIsPressed

GetIsPressed

SetIsToggleButton

GetIsToggleButton

Influence and behavior:

By default, button clicks are automatically animated so that the button is pushed and released at one action (without waiting).

When the isToggleButton property is set to true, the button has two states, pushed and released, with the state changed at a button-click.

pushed

released

The change of the button state does not influence the application response to its specified events.

At runtime, toggle buttons can be created and manipulated by means of ui methods:

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.