API: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.
Vcl.ListActns.TCustomStaticListAction.SetString inherits from Vcl.ListActns.TCustomListAction.SetString. All content below this line refers to Vcl.ListActns.TCustomListAction.SetString.
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.