- Pau Haro
- PowerBuilder
- Friday, 17 July 2020 03:04 PM UTC
Hello,
Im trying to execute an event on a window, but the problem comes when I try to do it on a itemchanged event of a datawindow that is located into a tabpage that it's on a tab. I can't reference the window by his name, becouse I open the window like this (Open(window_parent, "window_name")) and PowerBuilder don't know that I already opened the window and throws me (Null object reference error).
I need something like Parent.Parent.Parent, I don't want to use an instance variable to reference the window and I know that I can do a function on the window that triggers the event but I want to avoid that.
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.