M
Marcel Stoop
Hi
I have created a Textbox.
In some cases I give a MsgBox out when an user leaves this Textbox.
Event: either by "LostFocus" or "OnExit".
But, if user leaves this textbox by clicking on Command Button "Cancel" I
do not want this MsgBox to be generated.
Is there a way of doing this.
I have tried playing around with "If... Then" functions on "LostFocus" and
"OnExit" events on "txtTextbox" and also with "GotFocus" or "OnEnter" events
on cmdCancel.
So far I have not been successful.
I have created a Textbox.
In some cases I give a MsgBox out when an user leaves this Textbox.
Event: either by "LostFocus" or "OnExit".
But, if user leaves this textbox by clicking on Command Button "Cancel" I
do not want this MsgBox to be generated.
Is there a way of doing this.
I have tried playing around with "If... Then" functions on "LostFocus" and
"OnExit" events on "txtTextbox" and also with "GotFocus" or "OnEnter" events
on cmdCancel.
So far I have not been successful.