FMX.StdCtrls.TSpeedButton.IsPressed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IsPressed: Boolean read FIsPressed write SetIsPressed default 0;

C++

__property IsPressed = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TSpeedButton

Description

Specifies whether the default state of this button is pressed or not.

FMX.StdCtrls.TSpeedButton.IsPressed inherits from FMX.StdCtrls.TCustomButton.IsPressed. All content below this line refers to FMX.StdCtrls.TCustomButton.IsPressed.

Specifies whether the default state of this button is pressed or not.

Set the IsPressed property to True in order to force this button's default state to be pressed. The button comes back to its initial unpressed state once you click it.

Tip: Setting the IsPressed property only has an effect if the StaysPressed property is set to True.

See Also