>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