Button.IsPressed

Syntax

IsPressed: Boolean

Description

The IsPressed property determines that a button is pressed.

Comments

If the true value is set for the property then the button is displayed in the pressed condition. By default the property is set to False.

The property is relevant if the Button.IsToggleButton property is set to True.

Example

To execute the example, create a button (see href="../../components/button/example_simplebutton.htm">Example of Creating a Simple Button). Set the True value to the IsPressed property for the button to stay pressed when downloading the HTML page:

IsPressed: true

See also:

Button