TCustomMaskEdit.DisableMask function
Saves and disables the edit mask in the control.
Declaration
function DisableMask(const NewText: string): BooleanDescription
DisableMask is a
Boolean function used to save the
current edit mask to an internal member, and then disables the edit mask in
the control. This gives developers the opportunity to set any text in the
control without affecting the control state. Whether or not the function
succeeds,
NewText will be set as the new Text in the control.
There is no need to retain the saved internal mask or trim type; they are
only set in
SetEditMask.
Use RestoreMask to re-enable the saved edit mask for the control.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
