RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.GetLastEditChar Method

Returns the index in the EditMask of the last nonliteral character.

Pascal
function GetLastEditChar: Integer;
C++
__fastcall int GetLastEditChar();

Use GetLastEditChar to find the last position of the EditMask where the user can modify the EditText. 0 specifies the first character, 1 the second character, and so on. If there is no mask, GetLastEditChar returns the length of the text. 

 

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