Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BufferMode Property
Message
 
 
À
08/05/2001 11:45:19
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00504341
Message ID:
00504770
Vues:
21
Your child form using a Default DS will inherit the DS in which it was created in. So if you are issuing a CreateObject while in the Parent form, that new form should inherit that Parent form's DS. It should not matter what class lib is used when creating the form.

>Mark,
>
>So that explained why I got that form behavior with regard to data session
>because I instantiated the child form by using CreateObject on form base class
>instead of using DO FORM command, right?
>
>Kam.
>
>>The one situation where this will not happen is if the parent form launches a >child form with a goApp.DoForm('mychildform'). This child form that is set to >use the default datasession will inherit the datasession in which the goApp >object was instanciated [probaby the VFP DS -- DS #1].
>
>>For the child form to inherit the parent DS, you have to DO FORM MYCHILDFORM >directly from the parent form.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform