FMX.StdCtrls.TCheckBox.SetData
Delphi
procedure SetData(const Value: TValue); override;
C++
virtual void __fastcall SetData(const System::Rtti::TValue &Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | TCheckBox |
Description
Protected setter implementation for the Data property.
SetData overrides FMX.Types.TFmxObject.SetData and sets the value of IsChecked.
Value
may be any of the following:
- A Boolean value. IsChecked is assigned that value.
- A String Boolean. IsChecked is assigned that value.
- An event handler to be assigned to OnChange. IsChecked remains unchanged.