Vcl.ListActns.TCustomStaticListAction.SetString

提供:RAD Studio API Documentation

Delphi

procedure SetString(Index: Integer; const Value: String); override;

C++

virtual void __fastcall SetString(int Index, const System::UnicodeString Value);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns TCustomStaticListAction

説明

Strings プロパティの値を設定します。 {{#multireplace:Vcl.ListActns.TCustomStaticListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:Vcl.ListActns.TCustomListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:Vcl.ListActns.TCustomListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

Strings プロパティの値を設定します。

SetString メソッドは,Strings プロパティの読み出し専用プロテクトメソッドです。

TCustomListAction では,SetString は何もしません。

SetString をオーバーライドすると,より内容のある値を Strings プロパティに提供できます。たとえば,TStaticListActionSetString をオーバーライドして指定の項目のキャプションを設定します。

関連項目