FMX.StdCtrls.TCheckBox

From RAD Studio API Documentation
Jump to: navigation, search

FMX.StdCtrls.TPresentedTextControlFMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentTCheckBox

Delphi

TCheckBox = class(TPresentedTextControl, IIsChecked)

C++

class PASCALIMPLEMENTATION TCheckBox : public TPresentedTextControl

Properties

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

Description

Represents a FireMonkey styled check box that can be either on (selected) or off (cleared).

TCheckBox represents a FireMonkey styled check box that can be either on (selected) or off (cleared). A TCheckBox component presents you an option. Select the box to turn on the option, or clear it to turn off the option.

A FireMonkey TCheckBox control supports linking to a Boolean database field. The Boolean field can be null, so there are actually three states: True, False, Null. The TCheckBox control treats the Null state as False.

The Text property can be used to define an accelerator key to a control. The accelerator key behavior for TCheckBox is to check and uncheck the box control.

See Also

Code Examples