[EMAIL PROTECTED] wrote:
> 
> [EMAIL PROTECTED] wrote:
> 
> > View version: REBOL/View 0.9.9.4.2 1-Jun-2000
> >
> > Synopsis:
> >   Defining a shortcut key for a button and selecting a field,
> >   the field will never receive the char, if typed, as specified by
> >   the shortcut.
> >
> > Code to reproduce:
> >
> >   rebol[]
> >
> >   view layout [
> >     button "test" #"t"
> >     across text "Text Field:" tab tf: field
> >   ]
> >
> 
> hmm, now that's interesting - after playing with above code (except
> rebol []) inserted to console via clipboard, I got /View hard crash.
> 
> btw: functionality of above code is strange. Events for button are
> reflected inside of field?

Events of button (input char 't' in this example) are reflected in the
above field, yes.

If we change button to:

button "test" #"t" [quit]

and then run the app: rebol test.r

type activate the field by clicking inside of it, then typing 't', the
application will quit. :)

Regards,
Deryk

Reply via email to