Well, as written right in front of you, it's a char! or a word!
>From memory, there are words like:
'page-up, 'page-down, 'left or 'left-arrow...
floating around in VID-land somewhere.
Otherwise, it's a specific character.
Here's a quick test I did.
A layout with a button that responds to the "h" key
(but does nothing about it...)
lay: layout [button #"h" "Hello"]
find-key-face lay #"j" ; == none
find-key-face lay #"h" ; does not return none - a good sign
probe get in find-key-face lay #"h" 'style ; == button
We seem to have found the button.
Anton.
> Hmm. I can't get find-key-face to return anything but a none or an
> error - probably because I don't know what a keycode is...
>
> >> ? find-key-face
> USAGE:
> FIND-KEY-FACE face keycode
>
> DESCRIPTION:
> Search faces to determine if keycode applies.
> FIND-KEY-FACE is a function value.
>
> ARGUMENTS:
> face -- (Type: object)
> keycode -- (Type: char word)
>
> What's the function for?
>
> --
> Carl Read
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.