[REBOL] Re: Re(2): Hiding self in Rebol/View - show?: false
From: allenk:powerup:au at: 7-Feb-2001 23:38
Thanks for correcting that Scott,
Now if you really want to remove self you can provide your own feel
at its simplest is..
view layout [
button "Click me to hide!" 120
feel [engage: func [f a e][hide f ]]
]
a bit more elaborate
view layout [
button "Click me to hide!" 120
feel [
engage: func [face action event][
switch action [
down [face/state: on]
alt-down [face/state: on]
up [if face/state [hide face exit] face/state: off]
alt-up [if face/state [hide face exit] face/state: off]
over [face/state: on]
away [face/state: off]
]
cue face action
show face
]
]
]
Cheers,
Allen K