Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closeable Form
Message
From
13/07/2004 17:18:06
 
 
To
13/07/2004 15:59:36
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00923953
Message ID:
00923983
Views:
20
>I have a textbox on a closeable form that has code in it's lostfocus method. Is there a way to not execute the lostfocus method if the user clicks on the close button of the form?

In your LostFocus code of your TextBox, you can put this:
IF thisform.ReleaseType=1
  NODEFAULT
  RETURN
ENDIF
*
* rest of your LostFocusCode here
*
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform