FMX.StdCtrls.TButton
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
- FMX.StdCtrls.TCustomButton
- FMX.StdCtrls.TSpeedButton
- Mobile Tutorial: Using a Button Component with Different Styles (iOS and Android)
- Using Styled and Colored Buttons on Target Platforms
- Using Accelerator Keys