Vcl.Mask.TCustomMaskEdit.Reset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Reset; virtual;

C++

virtual void __fastcall Reset();

Properties

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

Description

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

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.

See Also