[Gambas-user] Any way of excluding a control from the tab order?
Robert Rowe
robert.c.rowe at ...626...
Wed Mar 26 00:49:17 CET 2008
I'd like to add my vote for a tabstop property. I almost exclusively
write data entry programs at work in VB. I often have controls that are
little used that I remove from the tabstop. I've also had a lot of
requests from my users for navigation via the enter key. The real
problem with the enter key is that multi-line controls throw a wrench in
the works. I wrote a kludge at work that eats the enter key and does a
sendkeys("TAB"). The users love it. I think that you could do the same
Richard. Set up an observer for your controls, catch the enter key and
eat it then issue a sendkeys. My VB version is a class that
automatically hooks into all the controls on a form so all I have to do
is init an instance of my class and turn it on.
Robert Rowe
richard terry wrote:
> On Tue, 25 Mar 2008 07:51:11 pm you wrote:
>
>> Wow! Somebody who thinks like me about data entry.
>>
>> I can’t answer the question but I am good at tangents! I have always used
>> the <return> key (in VB and now GB) to control flow.
>>
>
> Great minds think alike. Agree wholeheartedly what a useless position the tab
> key is, all my old vb code (and my new gambas code) uses the <enter> key for
> all movement through the form.
>
> One can literally whizz through a form containing dozens of data fields in
> microseconds.
>
> Regards
>
> Richard
>
>
>
>> That <tab> key is a
>> useless key in a useless position and you have to have three hands to make
>> decent use of a mouse under data entry conditions.
>>
>> PUBLIC SUB txtName_keyRelease()
>> IF key.Code = key.Return OR key.Code = 65421 THEN
>> txtDate.SetFocus
>> ENDIF
>>
>> I should be able to use key.Enter for the numeric pad Enter key but last
>> time I tried under GTK it did not work.
>>
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list