Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delay instantiation of the objects - questions about thi
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00472503
Message ID:
00472768
Vues:
36
Nadya,
Cetin answered your other questions, but I have some comments on your object references.

Often you'll have form methods that will refer to data on more than one container. In this case, pass the container as an object to the form method. For example if you wanted to run the same calculation when data is updated in Page1.container1 and Page2.container1 you'd call it from a textbox Valid() with Thisform.MyNextCalc(this.parent) Note that here "this.parent" refers to the container. If you have containers INSIDE containers you might have to adjust that.

Barbara

>Hi everyone,

>Also in my code I usually use full reference to the object, like thisform.PageFrame1.PageLocation.Container1.btcc_ZipCode. Can I keed this notation or should change it to use always relative notation instead.
>
>Thanks in advance.
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform