Ave Cybernautae!

On Gambas 2.5 on Ubuntu 8.04

When I run the following with components gb, gb.db, gb.qt enabled the
transfer from txtName to txtDate is fine with either <tab> or <enter>.

When I run with gb, gb.db, gb.gtk the transfer does not take place with
<tab> but only with <enter>. And the program starts minimised.

Under Gambas 2.6 on Mandriva 2008 it works fine with either gb.qt or gb.gtk.

I have seen other posts in this forum where 'tab key does nothing'. Is this
a problem? Is there a solution?



> PUBLIC SUB txtName_keyRelease()
>   DIM txtUpper AS String
>   DIM txtList AS String
>   
>   IF key.Code = key.Return OR key.Code = key.Enter OR key.Code = key.Tab
> THEN   
>     IF IsNull(txtName.text) THEN 
>       txtName.SetFocus
>     ELSE 'go to next field
>       txtDate.SetFocus
>       STOP EVENT 
>     ENDIF 
>   ELSE 
>       etc... etc....
>        
>   ENDIF 
> END
> 

-- 
View this message in context: 
http://www.nabble.com/%3Ctab%3E-doesn%27t-work-tp17720252p17720252.html
Sent from the gambas-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to