Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM.Release doesn't release the form!?
Message
From
06/11/1998 14:58:43
 
 
To
06/11/1998 14:44:13
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00154872
Message ID:
00155330
Views:
29
ThisForm.Release does not work from within an Init event. What I did when I wanted this to be the case was to set a variable that flagged whether the form should be released. Then in the Activate event you can put the ThisForm.Release within the If statement if the form should be released.

Example:

Init event:

m.closeform = .t.

Activate Event:

IF m.closeform
Release ThisForm
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform