Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exiting text box LostFocus method on form close
Message
From
21/03/2003 12:59:20
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Exiting text box LostFocus method on form close
Miscellaneous
Thread ID:
00768691
Message ID:
00768691
Views:
60
I have a form with a text box. That text box has a LostFocus method which does a table lookup and returns focus to itself. I want to be able to close the form via the close box. That is no problem. I want to be able to detect that the form is being closed and thereby skip the table lookup. I can check the value of LastKey() but there are many key strokes that could potentially close the form.

In other words, how can a text box LostFocus method know the form is being closed?

Thanks in advance.
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA
Next
Reply
Map
View

Click here to load this message in the networking platform