Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Order of Instantiation Of Objects In a Container
Message
From
24/02/2007 11:08:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/02/2007 09:40:04
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01198480
Message ID:
01198549
Views:
15
This message has been marked as the solution to the initial question of the thread.
>>Having a container holding knowledge about its contained objects is not the problem as having sibling objects knowing about each other.
> Yes, I understand what you're saying and I agree.
>
>>...you can open the view in the container's init and add a method to the container to set up the grid. Once the Init opens the view you call the other method to set up the grid.
> Are you suggesting adding the grid to the container using procedural code rather than using the visual designer?

No - just assigning the recordsource and controlsources for the columns.

However, there's another solution to your problem. You can open your view with NODATA clause - and then it won't ask for parameters until the first requery(), which can happen much later in code.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform