Which Key to use afteer data entry Tab or Enter


Author
Message
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Gerard,
I agree with Sam.  Check out the TabOrderController, I use it on my forms and it does work as advertised.  In my applications the standard is the "Tab" key, but I have a form or two where it make sense to use the "Enter" key so this SF control allow you to have that flexibility and if you want to go deep, you can even have a setup option for your users on which key to use and programatically configure the TabOrderController, of course that is more work for you Satisfied

Edhy Rijo

Sam Tenney
Sam Tenney
StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)
Group: StrataFrame Users
Posts: 70, Visits: 3.5K
Hi Gerald,

The TabOrderController controls the order in which controls are accessed when the tab key (or the enter key) is presssed similar to the TabIndex property on controls.  But the TabOrderController is much better and easier to use.  It is documented in the SF Help system.

In my opinion, the tab key is the standard way to advance for Winforms apps.  I have tried the EnterAdvances property on the TabOrderController, but if you present a multiline textbox that should accept the enter key, I think there could be a problem because an enter will advance to the next control.

Sam Tenney
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi Sam. Thanks for your reply.

I was really trying to get a handle as to what is the de facto standard in 'state of the art' apps.

If Tab is the 'standard', and 99.99 % of all apps behave this way, there may not be a need to do anything.

What does the TabOrderController do ??
Sam Tenney
Sam Tenney
StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)StrataFrame Novice (102 reputation)
Group: StrataFrame Users
Posts: 70, Visits: 3.5K
Hi Gerald,

If you drop a TabOrderController onto your form, it has a property named EnterAdvances that might be what you are looking for.

Sam Tenney
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi.
Just wondering what has become the standard in APPS .
In VFP. most of our users woud use the Enter Key, but Tab seems to be the default in Dot Net.

Most of our users are Heads Down using the Numeric Keyboard , and if they were to use the Tab, they would need three hands (assunimg Right Handed)....
...one they use for entering numbers using Numeric Keypad
... one they use for flicking the data entry pages
... one for  the Tab Key, which is over on the LHS of keyboard,

Tia
Gerard
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search