Vcl.Mask.TCustomMaskEdit.GetLastEditChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetLastEditChar: Integer;

C++

int __fastcall GetLastEditChar();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

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

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.

See Also