Vcl.ListActns.TCustomListAction.GetString
Delphi
function GetString(Index: Integer): String; virtual;
C++
virtual System::UnicodeString __fastcall GetString(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TCustomListAction |
Description
Returns the value of the Strings property.
GetString is the protected read implementation of the Strings property.
In TCustomListAction, GetString always returns an empty string.
Override GetString to provide a more meaningful value to the Strings property. For example, TStaticListAction overrides GetString to return the caption of the specified item.