FMX.StdCtrls.TButton

From RAD Studio API Documentation
Jump to: navigation, search

FMX.StdCtrls.TCustomButtonFMX.StdCtrls.TPresentedTextControlFMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentTButton

Delphi

TButton = class(TCustomButton)

C++

class PASCALIMPLEMENTATION TButton : public TCustomButton

Properties

Type Visibility Source Unit Parent
class public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls FMX.StdCtrls

Description

Represents a push button that contains a text caption.

A TButton is a general-purpose push button for use in applications. Buttons can be enabled, disabled, pressed, and can respond to control keys such as ESCAPE and ENTER. These buttons can receive TAB focus.

Buttons can have a modal result attached, which is useful if these buttons are the main validating controls for a dialog box, for instance OK -- save and close; Cancel -- quit, no save; and so on.

The Text property can be used to define an accelerator key to a control.

See Also

Code Examples