Vcl.ListActns.TCustomListAction.SetString

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

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 プロパティに提供できます。たとえば,TStaticListActionSetString をオーバーライドして指定の項目のキャプションを設定します。

関連項目