Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo question
Message
 
 
À
26/06/2007 13:46:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01234596
Message ID:
01235758
Vues:
22
>>>>How can you have a container with a different DS than form's DS? What type of a container it is?
>>>Each container gets data session object.
>>
>>Do you mean you add DS object programmatically in container's Init? Or how exactly do you do it? Can you please explain it in a little bit more details?
>>
>>Thanks.
>Yes, in Init I am adding Session object to each container.

It would not make containers to use different DS than form's DS. Containers, AFAIK, don't have DS at all. You can only switch DS using SET DATASESSION command to this newly created session object's DS.

In other words, I'm not sure you're achieving your goal of separating each container into its own private DS with this approach.

If you do it the other way around, e.g. add container programmatically in Session object's Init, then you would have each container to use separate DS, though. But then you would need to add each session object to form programmatically.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform