Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Firing Sequence ... urg
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00189444
Message ID:
00189548
Views:
8
>The significance lies in that [snip], until Activate fires, the _Screen.ActiveForm is still the calling form. Therefore, I can place code in the Show, Load or Init of the child form to retrieve information from the calling form using _screen.activeform.whatever. Which I do extensively.

I just re-read your post, and boy was I glad! This point which you made is about to solve a MAJOR problem I was having, figuring out how to do exactly that, get information from the calling form in the called form.

Boy, the event firing sequence sure gets ugly when you've got one form calling another, though. My problems today have stemmed from the fact that the two forms events overlapped as the one called the other then shut itself down. The called form depended on a view being open, or opening it. Between the called form checking whether the view was already open (it was by the calling form), and trying to requery it, the calling form closed the veiw as it unloaded!

Boy do I have a headache!

Cheers,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform