Vcl.ListActns.TCustomListAction.SetString
Delphi
procedure SetString(Index: Integer; const Value: String); virtual;
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 | TCustomListAction |
Description
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.