Vcl.Touch.Keyboard.TKeyCaptions.SetCaption
Delphi
procedure SetCaption(const AName, AValue: string; const ALanguage: string = '');
C++
void __fastcall SetCaption(const System::UnicodeString AName, const System::UnicodeString AValue, const System::UnicodeString ALanguage = System::UnicodeString());
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | Vcl.Touch.Keyboard.pas Vcl.Touch.Keyboard.hpp |
Vcl.Touch.Keyboard | TKeyCaptions |
説明
Items リストの要素に対するキャプションの値を設定します。
SetCaption メソッドを使用すると、Items リストの要素に対するキャプションの値を設定できます。
検索されている要素は、AName および ALanguage パラメータによって特定されます。 ALanguage はオプションで、空の文字列に をデフォルトで設定します。 検索していた要素が見つかると、AValue パラメータと同様にその要素のキャプションが設定されます。
メモ: AName および ALanguage パラメータ付きのキーが見つからない場合は、新しいキーが追加されます。