Duplicate :
|
|
Relates :
|
|
Relates :
|
I have a frame with a button. On clicking the button, I am disabling the frame. After that, the focus still stays with the button and button responds to all the key events. Say pressing a space bar triggers an action event for the button. But button is not clickable using mouse. This behavior is seen only on Win32. On Solaris / Linux, the button also gets disabled and hence does not respond to any keyevents when parent frame gets disabled. This is reproducible on all releases (at least since 1.3.1) only on Win32. I have attached a sample test. Run the sample text on WinXP. You would see a frame with a button. Click on the button. Frame gets disabled. Make sure button still has the focus. Press space bar. If an action event is triggered (watch the console) the bug is reproduced. ###@###.### 10/27/04 09:10 GMT
|