frostbyte000jm
April 13th, 2021, 21:49
I have, what is probably going to make me feel dumb asking, a question about how to access 1 subwindow from another.
so I am making a new sidebar window. In the window I have 2 subwindows: header and contents.
In header: I have my link, name, lock
in contents: I have some fields and a button.
Pressing the button will create a string that I want to place somewhere.
All this works just fine (kind of).
My issue that I am having is I want the button to also take the name of the window and use that as well.
using window.name.getValue(), doesn't work like it does for all my other strings that are in here (which I expected it not to). I can't figure out how to get from my container subwindow to my header subwindow to get name.
I am probably going to feel foolish when I get the answer.
so I am making a new sidebar window. In the window I have 2 subwindows: header and contents.
In header: I have my link, name, lock
in contents: I have some fields and a button.
Pressing the button will create a string that I want to place somewhere.
All this works just fine (kind of).
My issue that I am having is I want the button to also take the name of the window and use that as well.
using window.name.getValue(), doesn't work like it does for all my other strings that are in here (which I expected it not to). I can't figure out how to get from my container subwindow to my header subwindow to get name.
I am probably going to feel foolish when I get the answer.