Re: TmaskEdit Validation
Posted by Joey on May 25, 2004 at 00:36:00:
In Reply to: TmaskEdit Validation posted by Coolio on May 23, 2004 at 08:18:45:
is the even that processes the TMaskEdit have it to a check on the length
// Put this before the code in the event
if Length(MaskEdit1.Text) <= 0 then begin ShowMessage('Please insert some text :)'); Exit; end;
This will mean if there is nothing in the MaskEdit it will show a message and then Exit the procedure .