What do those apps do with keyboard input in the same case. That is, as the focus for the wheel moves does the focus for up/down arrow also move. If so, I think it simply means that mouse move events over the control do an automatic setfocus. Can you verify if this is or is not the case?

----- Original Message ----- From: "bill lam" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Saturday, August 19, 2006 1:02 PM
Subject: Re: [Jbeta] j601tbeta_win.exe


Eric Iverson wrote:
3. wheel events require keyboard focus. This is part of the problem
shown by Oleg's example with two grids on form. The tab key can be used to shift focus between the controls and the wheel event is triggered to the control with keyboard focus. Note that char events such as up/down arrow go to the same grid as the wheel events. The gird code needs to be updated to do appropriate setfocus and this will be done for the next beta.

I guess wheel events need not require keyboard focus. Take a look at thunderbird or firefox with 2 or more panes. When mouse is over a pane, mouse wheel will scroll that pane, and when mouse is off that pane, (no need to mouse click to select focus), it won't scroll that pane. This have the advantage of being
intuitive and will not affect keyboard focus.

It may worth a look to see what convection is adopted by other applications.

--
regards,
bill
----------------------------------------------------------------------
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