FMX.Controls.TTextControl.GetAcceleratorCharIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAcceleratorCharIndex: Integer;

C++

int __fastcall GetAcceleratorCharIndex();

Properties

Type Visibility Source Unit Parent
function protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TTextControl

Description

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

FMX.Controls.TTextControl.GetAcceleratorCharIndex 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