Problems with multiple press and onCtrlKey

asked 2014-06-30 08:41:27 +0800

trinhthevu gravatar image trinhthevu

hi, i use event onCtrlKey( key F4) to open popup. when I pressed key F4, the application show a tag like: loading, but there are the possibility to press one more time before load, my application show 2 popup.

Thank you in advantage

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-23 19:15:53 +0800

Darksu gravatar image Darksu
1991 1 4

Hello trinhthevu,

You have two options in order to solve your issue:

  1. Set the button to disabled once you press it
  2. Use auto disable (Reference: http://books.zkoss.org/wiki/ZKComponentReference/Essential_Components/Button#Autodisable )

Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-06-30 08:41:27 +0800

Seen: 19 times

Last updated: Nov 23 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More