FMX.StdCtrls.TCustomSwitch.DoSwitch
Delphi
procedure DoSwitch; virtual;
C++
virtual void __fastcall DoSwitch();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | TCustomSwitch |
Description
Updates the action of the switch and calls the handler of the OnSwitch event.
Called by the DoChanged procedure of the data model of the control when the value of the switch control changes.