[REBOL] Accessing layout styles.
From: carl:cybercraft at: 10-Jul-2001 12:34
How do you get at the styles in a layout without the use of variables?
I want to be able to open any number of new windows from a main
window and have the new ones behave independently. Umm, this is what
I mean...
view layout [
f: field "a"
button "open" [
view/new layout [
t: text 100 copy f/text
button "Change" [t/text: "changed!" show t]
]
]
]
but the use of a variable there ('t) means the text in each new window
is sharing the same variable and so only the most recent window
opened can have its text changed. I need to get rid of that variable
and get at the layout styles directly. I assume
system/view/somthing-or-other is what I need, I just don't know what
the path is for the active window.
Any help appreciated.
--
Carl Read
[carl--cybercraft--co--nz]