FMX.StdCtrls.TRadioButton

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TRadioButton = class(TPresentedTextControl, IGroupName)

C++

class PASCALIMPLEMENTATION TRadioButton : public TPresentedTextControl

Properties

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

Description

Represents a radio (option) button.

TRadioButton, also called option button, presents a set of mutually exclusive choices. You can create individual radio buttons using TRadioButton or use a group to automatically arrange radio buttons into groups. You can group radio buttons to let the user select one from a limited set of choices.

A selected radio button is displayed as a circle filled in the middle. When not selected, the radio button shows an empty circle. Assign the value True or False to the IsChecked property to change the visual state of the radio button.

The Text property can be used to define an accelerator key to the control. The accelerator key behavior for TRadioButton is to select the radio button.

See Also

Code Examples