I would create a user object decended from u_tabpg (or tabpage if you are
not using PFC), place the datawindow (or other controls) on the tab page UO,
then add the user object to the tab (decended from u_tab if you are using
PFC).  Then access the controls through

    lu_tab.tabpage_xyz.dw_abc

It's probably not the answer you were hoping for, but it's the best as far
as modular programming goes.


----- Original Message -----
From: Crompton, Vivian (London) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 22, 1999 3:41 AM
Subject: PFCSIG referencing controls on a tab control


> Hi all,
> Well this is not really a PFC question but perhaps you have seena PFC
> solution:
> I have a window with two large text fields and a datawindow object on it,
> with lots of code written into them.
> I wanted to change the window so that it has the controls put on seperate
> tabs of a tab control.
> I created a tab control window, then cut and pasted the text controls and
> the datawindow onto it.
> Unfortunately, for some reason, now none of the window UDF's can see the
> controls that are now on the tab control.
> for example, the datawindow appears in the object list for the window when
> editing a window event or UDF, but the script complains that there is no
> such control.
>
> Any ideas?
> I thouroughly searched the help, but could find no references to this
> behavior, and there doesn't seem to be any way to actually refer to the
> controls on the tab window by
> tabcontrol.tab.mycontrol
> type syntax.
>
> Thanks,
>
> Vivian Cromtpon
>
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help
pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
>

> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to