Vcl.WinXCtrls.TToggleSwitchStateCaptions.Create
Delphi
constructor Create(ToggleSwitch: TCustomToggleSwitch);
C++
__fastcall TToggleSwitchStateCaptions(TCustomToggleSwitch* ToggleSwitch);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | Vcl.WinXCtrls.pas Vcl.WinXCtrls.hpp |
Vcl.WinXCtrls | TToggleSwitchStateCaptions |
Description
Creates an instance of the toggle switch captions.
This constructor accepts the TToggleSwitch instance to which the captions belong as the ToggleSwitch parameter. Create also sets the default captions for this switch: On and Off.