News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
How to bind a key event for widget?
Author Message

Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #1
RE: How to bind a key event for widget?

jyf1987 Wrote:
thank you very much
when i dont get the answer i use set_event_handler to solver the problem

Great examples, thanks :-)

The only problem with using the event handler is that input fields will absorb the enter key (as a tab to next field) unless you mess around with when (say a when(0)).

Another tip is to use event_inside(widget), as this allows you (when using the event_handler) to know what widget you where in when the event occured.


09-15-2008 12:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: How to bind a key event for widget? - JohnMurga - 09-15-2008 12:13 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: