Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delay instantiation of the objects - questions about thi
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00472503
Message ID:
00472768
Views:
42
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform