Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Order of Instantiation Of Objects In a Container
Message
From
23/02/2007 22:55:15
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01198480
Message ID:
01198511
Views:
7
Hi Dan,
Ok, I'll take that advice and try USE...NO DATA. I'll let you know how it works. Thanks very much for the help.
But I don't see what's the problem with code that depends on the instantiation order of objects in a container.
Best regards, Chaim

But wait...the problem isn't that the parameters are not available, the problem is there's no place to put the code in order to open the view before the grid instantiates unless you control the instantiation order.
I'll explain: the container has a grid. The grid instantiates before the container's Init method executes so the code to open the view can't go in the container's Init method. I tried putting the code to open the view in the grid's Init method but that seems also not to work. In order to have the grid connected to the local view, I need to open the view before the grid instantiates. That's why I think I need to have another object in the container that I will force to instantiate before the grid and place the code that opens the view in that object. What do you think? Is there something I'm not seeing?
Thanks, Chaim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform