API:Vcl.ListActns.TCustomStaticListAction.GetString

From RAD Studio API Documentation
Jump to: navigation, search

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.

Vcl.ListActns.TCustomStaticListAction.GetString inherits from Vcl.ListActns.TCustomListAction.GetString. All content below this line refers to Vcl.ListActns.TCustomListAction.GetString.

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