Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Order of Instantiation Of Objects In a Container
Message
De
24/02/2007 11:08:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/02/2007 09:40:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01198480
Message ID:
01198549
Vues:
14
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform