* textbox.valid() methodifthisform.releasetype = 0 * put validation code hereelse * user hit close box or wants to exit VFPendif
>Hi everybody, > >If I have a textbox with Valid event, how can I close form by pressing x at the right corner and not fire a validation? > >Thanks a lot in advance.