FMX.Controls.TTextControl.DoFilterControlText
Delphi
function DoFilterControlText(const AText: string): string; virtual;
C++
virtual System::UnicodeString __fastcall DoFilterControlText(const System::UnicodeString AText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TTextControl |
Description
Filters the string contained in the Text property.
For example, you can use DoFilterControlText to filter the ampersand symbol of the accelerator key character.
If the control is registered as an accelerator key receiver, you can override this method to do your own filtering to the accelerator keys.