Hi all,
I have a tab object inherited from u_tab: utab_folder. Another tab object inherited from utab_folder: utab_lab. In utab_folder I defined an instance variable u_tab itab_This, and in the constructor event of utab_folder I set the itab_This variable: itab_This = this.
In utab_folder, in the constructor event, I reset the itab_This variable: itab_This = this. From this point, I should be able to reference all events and functions defined in utab_folder.
In several u_dw objects on several tab pages I need to call a function on itab_This... of_get_status(adw_form). From the udw object I call itab_this.of_get_status(this). Keep getting an error: Unknown function name of_get_status
of_get_status is definitely defined on utab_lab. I don't understand why this function isn't recognized.
TIA,
~~Tracy
I defined a new instance variable: utab_lab itab_lab
In the constructor event of utab_lab, I added utab_lab = this
In the u_dw event I change the code: li_Status =utab_lab.of_get_status(this)
This works. I could also find the parents of the u_dw, that works too, but I have to reuse this logic in 10 u_dw's... so easier to just set it up front.
Many thanks,
~~~Tracy