FMX.StdCtrls.TPresentedTextControl.GetAcceleratorChar

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetAcceleratorChar: Char;

C++

System::WideChar __fastcall GetAcceleratorChar();

プロパティ

種類 可視性 ソース ユニット
function protected
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TPresentedTextControl


説明

レシーバー オブジェクトのテキスト文字列内のアクセラレータ文字のインデックスを返します。

FMX.StdCtrls.TPresentedTextControl.GetAcceleratorChar は FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex を継承しています。以下の内容はすべて FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex を参照しています。

レシーバー オブジェクトのテキスト文字列内のアクセラレータ文字のインデックスを返します。

GetAcceleratorCharIndex を使用すると、テキスト文字列がそれを同じ文字を複数格納している場合に、アクセラレータ文字を強調表示させることができます。

関連項目