Accessing SubForm objects from MainForm and vice versa, global objects
2 views
Skip to first unread message
Udo Weik
unread,
Mar 12, 2014, 6:54:09 PM3/12/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Hello,
I'm able to share variables via the global object between the
two forms. And I can e. g. access the menu of the SubForm with
dlg = gui.Window.open( 'SubForm.html' ) ;
var submenu = dlg.menu.items[0].label ;
from the MainForm or that (its own) menu from the SubForm with
win.menu.items[0].label
But I can't change e. g. the label.
When I add an empty object from the MainForm to the SubForm like
dlg.TEST = {} ;
I can't access that from the SubForm
win.TEST