I have a text box on a form. The text box has the focus and I have some validation code in the LostFocus of the test box.
I also have a Cancel command button on the same form. When I press the Cancel button I want to RELEASE thisform. But after it does the RELEASE thisform, it runs the LostFocus on the text box which I don't want to happen. I want to just exit the form and forget the LostFocus at that point.
But I need the LostFocus to be in the text box in case I don't press the Cancel button and fill out the text box with information. Lost Focus checks the text box for valid information.
This must be simple, but I have been spinning my wheels on this one.
Thanks for your help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.