Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form 2 Inits fires before Form 1 Deactivate completes?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form 2 Inits fires before Form 1 Deactivate completes?
Miscellaneous
Thread ID:
00574205
Message ID:
00574205
Views:
52
There are two forms:
1) Form 1 sets a record pointer
   Form 1's deactivate remembers pointer to an array (In a 'custom' 
   property).
2) Form 2 is selected off menu
   Form 2's init uses Form 1's table and reads though (to bottom) to populate a
   list control (ends at eof())
When I look at the pointer form 1 was spose to remember, it shows up as eof(), where form 2's read through left it.

The work around was to save the last point set by Form 1 before Form 2's read through and then reset after read loop completed. That was enough to stall it soze form 1's deactivate could complete the job.

Is there any way to force form 1's deactivate to complete before form 2's init is fired?
Imagination is more important than knowledge
Next
Reply
Map
View

Click here to load this message in the networking platform