[REBOL] Re(2): current face?
From: arolls:bigpond:au at: 7-May-2001 3:13
> > currently focussed face from [system/view/focal-face].
> > Does this help?
> Doesn't seem to. If I have
>
> view layout [
> button "Some text" [ print system/view/focal-face/text ]
> ]
>
> and click on the button, it doesn't print do what I was
> hoping ...
I don't think buttons can have the focus.
If you change it to field then it will work.
From your earlier post I think you need to
be able to detect the button.
What situation are you in where you need to
detect this? (Perhaps we could solve the
problem another way.)
Or maybe you could stylize each gadget you
need to detect and have it alter a global
word to point to its face when it is
manipulated.
Anton.