Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My FORM is full and I can not keep track of the OBJECTS?
Message
 
To
23/09/1997 12:50:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051244
Message ID:
00051253
Views:
36
>I have a FORM that has a PAGEFRAME with three PAGE TABS
>and one of those TABS has two PAGETABS. Along with all
>the EVENTS and OBJECTS, I am having trouble keeping
>track of where my code is. Also, when I try to address
>an object, my address names are long..
>For example…
>If I want to set a VALUE, I have to do something like this…
>thisform.pageframe1.page2.combo_voucher_add.visible=.f.
>Is there an easier way to organize objects so I can keep
>track of what is going on.
Hi robert,
Store in variables or properties the reference to all your
pages, then use the variable to point to the objects, like:

m.x=THISFORM.PageFrame1.Page2

after that you can say:

x.combo_voucher.visible=.F.

Got it ?

hope this helps.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform