Vcl.ListActns.TCustomStaticListAction.SetString
Delphi
procedure SetString(Index: Integer; const Value: String); override;
C++
virtual void __fastcall SetString(int Index, const System::UnicodeString Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TCustomStaticListAction |
Description
Sets the value of the Strings property. {{#multireplace:Vcl.ListActns.TCustomStaticListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ListActns.TCustomListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ListActns.TCustomListAction.SetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Sets the value of the Strings property.
SetString is the protected write implementation of the Strings property.
In TCustomListAction, SetString does nothing.
Override SetString to provide a more meaningful value to the Strings property. For example, TStaticListAction overrides SetString to set the caption of the specified item.