RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.Reset Method

Returns the EditText to its value at the time when the edit control last lost focus.

Pascal
procedure Reset; virtual;
C++
virtual __fastcall Reset();

Reset cancels the most recent edits to the masked edit control. The EditText returns to the value at the time the control last lost focus, not the time when it first regained focus. Thus, any changes to the EditText that occurred programmatically while the edit control did not have focus are also discarded. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!