Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.release() from form's DE
Message
From
02/06/2004 06:07:38
 
 
To
01/06/2004 22:43:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00908137
Message ID:
00909186
Views:
14
You cannot do this with a DE full encapsulation.

The VFP sequence is not good designed and you have no events for set a flag :
FORM.DATAENVIRONMENT.OPENTABLES 
FORM.DATAENVIRONMENT.BEFOREOPENTABLES
* now VFP load de tables
FORM1.LOAD  && <== now you have datasession filled
* at this point VFP start the init form objects phase, and you cannot trap it until Form.init is fired
FORM1.DATAENVIRONMENT.CURSORS1.INIT
....
FORM1.DATAENVIRONMENT.INIT
FORM1.Controls[1].Init
.....
FORM1.INIT  && <== now you can unload the form
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform