Re: setHandler not works after chekBox ?

new topic     » goto parent     » topic index » view thread      » older message » newer message
SergioGelli said...

Why the line

"setHandler(winMaster, w32HKeyUp, routine_id("onkeyUp"))"  

does not work after changing the checkbox?

It doesn't work because clicking in the checkbox changes the keyboard's focus from the window to the checkbox, but the handler you have is only looking for KeyUp events that happen to the window.

Try this instead ...

setHandler(Screen, w32HKeyUp, routine_id("onkeyUp")) 


This will cause the handler code to react to every KeyUp event regardless of which control has focus at the time.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu