I also, would make use of focus gained and focus lost events.

Tom Arneson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devon McCormick
Sent: Saturday, December 01, 2007 12:55
To: Programming forum
Subject: Re: [Jprogramming] RE: GUI tab = enter+tab?

I've often wanted the ability to have focus change - in the little GUI
programming I do - to be an explicit event.

On 11/14/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
>
> Why would tab justify a separate event?
> ...
> So maybe these two events from isigraph would make
> more sense to reflect control update?
>
> focus     focus gained
> focuslost focus lost
>
> Speaking of tab as a key, it might not be very
> interesting exclusively, but a general event
> for chars would take care of this and other cases:
>
> char      key press
>
> Either focus lost or char allow validation,
> that will signal any errors in the format.
> ...


-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to