Vcl.WinXCtrls.TToggleSwitchStateCaptions.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(ToggleSwitch: TCustomToggleSwitch);

C++

__fastcall TToggleSwitchStateCaptions(TCustomToggleSwitch* ToggleSwitch);

プロパティ

種類 可視性 ソース ユニット
constructor public
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TToggleSwitchStateCaptions


説明

トグル スイッチ キャプションのインスタンスを作成します。

このコンストラクタは、キャプションが属する TToggleSwitch インスタンスを、ToggleSwitch パラメータとして受け取ります。Create では、このスイッチのデフォルト キャプション(On および Off)も設定されます。

関連項目