FMX.StdCtrls.TPresentedTextControl.GetAcceleratorChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAcceleratorChar: Char;

C++

System::WideChar __fastcall GetAcceleratorChar(void);

Properties

Type Visibility Source Unit Parent
function protected
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TPresentedTextControl

Description

Returns the index of the accelerator character within the text string of the receiver object.

FMX.StdCtrls.TPresentedTextControl.GetAcceleratorChar inherits from FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex. All content below this line refers to FMX.AcceleratorKey.IAcceleratorKeyReceiver.GetAcceleratorCharIndex.

Returns the index of the accelerator character within the text string of the receiver object.

Use GetAcceleratorCharIndex to highlight the accelerator character when the text string contains several times the same character.

See Also