[REBOL] Re: Useful function click-face
From: petr:krenzelok:trz:cz at: 11-Jan-2002 19:17
Jason Cunliffe wrote:
>>click-face: func [face][face/feel/engage face 'down none]
>>
>>; simple example
>>view layout [
>>chk: check text "click me" [click-face chk]
>>]
>>
>>; more complicated
>>view center-face layout [
>>across
>>chk: check pad 0x-3 label "click me" [click-face chk] return
>>rad1: radio pad 0x-2 label "option 1" [click-face rad1] return
>>rad2: radio pad 0x-2 label "option 2" [click-face rad2]
>>]
>>
>
>very nice.
>Is there any way to have the mouse cursor also change on rollover, like to a
>finger or something as in HTML hyperlink?
>
Rebol doesn't support mouse cursor change. I think that it is not
possible to introduce truly multiplatform solution here, but maybe at
least partly. I suggested it several times already and RT folks told me
that something like that is planned.
One of my suggestion was at least capability of hiding/replacing mouse
cursor by set of two nested faces - one holding the whole image - e.g.
hand, inner one representing sensing area, e.g. finger ....
Let's see what future will bring, but if RT wants Rebol to be used by
kiosk systems, they should probably allow us to hide/change/replace
mouse pointer ....
-pekr-