Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level Form problem
Message
From
20/02/2004 07:52:06
 
 
To
18/02/2004 21:18:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00876959
Message ID:
00879132
Views:
20
Remember that this way Destroy method may be called twice: first by Release method and then as VFP event. This can potentially cause errors or just slower form unload.
I recommend you to add Destroying property to the form and use it to reject second call to Destroy method:
* In Form.Destroy method:
IF This.Destroying THEN
  RETURN
ENDIF
This.Destroying = .T.
...
* Destroy method code
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Reply
Map
View

Click here to load this message in the networking platform