Vcl.Mask.TCustomMaskEdit.GetNextEditChar
Delphi
function GetNextEditChar(Offset: Integer): Integer;
C++
int __fastcall GetNextEditChar(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 greater than an offset.
Call GetNextEditChar to find the first position of the EditMask at or following 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 following Offset, GetNextEditChar returns MaxLength.
Use GetNextEditChar to loop through the editable characters in the EditText, starting with the value returned by GetFirstEditChar and using GetLastEditChar to determine when all nonliteral characters have been processed.