[REBOL] Re: Accessing layout styles.
From: carl:cybercraft at: 10-Jul-2001 19:02
Many thanks, Brett and Volker. 'context is obviously what I wanted.
Using Volker's approach (because it seemed the simpliest) and
seperating the new windows from the main window, this is what I came
up with and it works a treat...
window-template!: context [
t: none
open-window: does [
view/new layout [
t: text f/text 100
button "Change" [t/text: "Changed!" show t]
]
]
]
view layout [
f: field "a"
button "open" [make window-template! [open-window]]
]
--
Carl Read
[carl--cybercraft--co--nz]