RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.GetPriorEditChar Method

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

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

 

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