[REBOL] Re: a little help for a newbie?
From: carl:cybercraft at: 17-Feb-2003 12:47
On 17-Feb-03, Dave Fobare wrote:
> Dl'ed Rebol/View last night. I'd like to figure out how to click a
> button on one "layout" and trigger an event handler that fires up
> "new" layout in response. I can see that the easy-vid.r does this,
> but that script is a little beyond my abilities just yet. Could
> someone suggest a quick snippet I could play with?
Hi Dave,
A very rushed respones...
view layout [
button "Open Window" [
view/new layout [text "New Window"]
]
]
The contents of the block after 'button is evaluated every time you
click on the button.
--
Carl Read