Vcl.Touch.Keyboard.TKeyCaptions.GetCaption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCaption(const AName: string; const ALanguage: string = ''): string;

C++

System::UnicodeString __fastcall GetCaption(const System::UnicodeString AName, const System::UnicodeString ALanguage = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
Vcl.Touch.Keyboard.pas
Vcl.Touch.Keyboard.hpp
Vcl.Touch.Keyboard TKeyCaptions

Description

Returns the caption of an Items list element.

Use GetCaption to get the value of a key caption override from the Items list.

The element that is searched for is identified by the AName and ALanguage parameters. ALanguage is optional and defaults to the empty string .

See Also