RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.GetNextEditChar Method

Returns the first index of a nonliteral character equal to or greater than an offset.

Pascal
function GetNextEditChar(Offset: Integer): Integer;
C++
__fastcall int GetNextEditChar(int 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!