Why does Rebol not complain about
'f2text not having a value in 'show-form2????
It forces me to use the context to talk to the
layout and the 'change-text function which makes
good sense to me.
How come it "sees" the "sub-part" 'f2text when
it cannot "see" its parent?
Would one of the gurus please shed some light
on this for me?
As always, thanks a lot!
Kai
rebol[]
;-------------------------------------------
show-form2: does [
unview
view/new ctx/form2 ; makes good sense
ctx/change-text ; makes good sense
set-face f2text "GREEN" ; ??????
]
;-------------------------------------------
form1: center-face layout [
btn "Show form 2" [ show-form2 ]
]
;-------------------------------------------
ctx: context [
change-text: does [ set-face f2text "BLUE" ]
;
form2: center-face layout [
f2text: text "RED"
]
]
;-------------------------------------------
view form1
;---------------- E o S --------------------
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.