Vcl.Mask.TCustomMaskEdit.GetPriorEditChar
Delphi
function GetPriorEditChar(Offset: Integer): Integer;
C++
int __fastcall GetPriorEditChar(int Offset);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Mask.pas Vcl.Mask.hpp |
Vcl.Mask | TCustomMaskEdit |
Description
Returns the first index of a nonliteral character equal to or less than an offset.
Call GetPriorEditChar to find the first position of the EditMask at or preceding Offset, where the user can modify the EditText. 0 specifies the first character, 1 the second character, and so on. If there is no nonliteral character at or preceding Offset, GetPriorEditChar returns the index of the first editable character following Offset.