Vcl.ListActns.TCustomListAction.SetString
Delphi
procedure SetString(Index: Integer; const Value: String); virtual;
C++
virtual void __fastcall SetString(int Index, const System::UnicodeString Value);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TCustomListAction |
説明
Strings プロパティの値を設定します。
SetString メソッドは,Strings プロパティの読み出し専用プロテクトメソッドです。
TCustomListAction では,SetString は何もしません。
SetString をオーバーライドすると,より内容のある値を Strings プロパティに提供できます。たとえば,TStaticListAction は SetString をオーバーライドして指定の項目のキャプションを設定します。