Show: Delphi C++
Display Preferences

FMX.StdCtrls.TCustomButton.IsPressed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IsPressed: Boolean read FIsPressed write SetIsPressed default False;

C++

__property bool IsPressed = {read=FIsPressed, write=SetIsPressed, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TCustomButton

Description

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

Personal tools
In Other Languages
Previous Versions
Assistance