FMX.Controls.TTextControl.GetAcceleratorCharIndex
Delphi
function GetAcceleratorCharIndex: Integer;
C++
int __fastcall GetAcceleratorCharIndex();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TTextControl |
説明
レシーバー オブジェクトのテキスト文字列内のアクセラレータ文字のインデックスを返します。
FMX.Controls.TTextControl.GetAcceleratorCharIndex は FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex を継承しています。以下の内容はすべて FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex を参照しています。
レシーバー オブジェクトのテキスト文字列内のアクセラレータ文字のインデックスを返します。
GetAcceleratorCharIndex を使用すると、テキスト文字列がそれを同じ文字を複数格納している場合に、アクセラレータ文字を強調表示させることができます。