FMX.StdCtrls.TPresentedTextControl.DoFilterPresentedText
Delphi
function DoFilterPresentedText(const AText: string): string; virtual;
C++
virtual System::UnicodeString __fastcall DoFilterPresentedText(const System::UnicodeString AText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.StdCtrls.pas FMX.StdCtrls.hpp |
FMX.StdCtrls | TPresentedTextControl |
Description
Filters the string contained in the Text property.
For example, you can use DoFilterPresentedText 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.