Hi,

Thanks for the reply on the Spinbox issue :) 

Heres another issue i faced recently, I had set the default property for a 
button on one of the forms of my project. This would allow the user to press 
the enter key instead of clicking the said button. Trouble is that even if 
another button has focus when the user presses Enter, the button with the 
default event set still gets called. With other controls this behavior is 
intended, for instance if the user presses enter while the focus is at a 
textbox the default button being called is what is expected, but if the user 
uses Tab to navigate to another button and then presses Enter then shouldn't 
that button's click function be executed?

I have attached a sample project for your reference.

Is there any way to avoid this?

OS: Debian Squeeze (GNOME)

GB.GTK component used.

Gambas version 2.21



Best Regards,
Vikram




      

Attachment: DefaultButtonIssue.tar
Description: Unix tar archive

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to