Vcl.ListActns.TCustomStaticListAction.GetString

From RAD Studio API Documentation

Delphi

function GetString(Index: Integer): String; override;

C++

virtual System::UnicodeString __fastcall GetString(int Index);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns TCustomStaticListAction

Description

Returns the value of the Strings property. {{#multireplace:Vcl.ListActns.TCustomStaticListAction.GetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ListActns.TCustomListAction.GetString|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.GetString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also