Vcl.Touch.Keyboard.TKeyCaptions.HasCaption
Delphi
function HasCaption(const AName: string; const ALanguage: string = ''): Boolean;
C++
bool __fastcall HasCaption(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 True if the key has a caption for a specific language.
Use HasCaption to determine if a key has a caption for a specific language.
The AName parameter represents the key after which the search is performed.
The ALanguage parameter represents the language for which you want to determine whether the key has a caption. The ALanguage parameter is optional and defaults to the empty string .