FMX.StdCtrls.TButton.StaysPressed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StaysPressed default False;

C++

__property StaysPressed = {default=0};

Properties

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

Description

Specifies whether this button remains in a pressed state once you click it.

FMX.StdCtrls.TButton.StaysPressed inherits from FMX.StdCtrls.TCustomButton.StaysPressed. All content below this line refers to FMX.StdCtrls.TCustomButton.StaysPressed.

Specifies whether this button remains in a pressed state once you click it.

Set the StaysPressed property to True to force this button to remain in a pressed state once you click it. The button comes back to its initial depressed state once you click it again.

If StaysPressed is set to False, then this button behaves like a standard push button that comes back to its initial state once you release the mouse button over its surface.

See Also