|
|
|
It is currently Tue Jun 18, 2013 4:00 pm
|
View unanswered posts | View active topics | View unsolved topics
|
Page 1 of 1
|
[ 3 posts ] |
|
Tab order of input components
| Author |
Message |
|
AlThePal
General
Joined: Fri Aug 03, 2007 11:39 am Posts: 620 Location: Devon, England
|
 Tab order of input components
I have designed a data entry popup with a number of input components arranged in 2 columns. When I try to tab between these, the order the components are highlighted in always goes from left to right, then from top to bottom.
It would be very nice to be able to set the tab order of input components, like Visual Basic.
_________________ Al DataCapture Ltd. www.datacap.co.uk
|
| Mon Aug 11, 2008 1:30 am |
|
 |
|
AlThePal
General
Joined: Fri Aug 03, 2007 11:39 am Posts: 620 Location: Devon, England
|
 Re: Tab order of input components
After a bit more playing about I've managed to get it working the way I want by putting the 2 columns into separate containers. Using tab will go through all the components in one container before moving onto the next container. The containers themselves will still be processed in the left to right then top to bottom order.
I think this should enable all but the weirdest layouts - I don't know whether anyone else things a totally customizable tab order would still be useful?
_________________ Al DataCapture Ltd. www.datacap.co.uk
|
| Mon Aug 11, 2008 3:42 am |
|
 |
|
Carl.Gould
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 3870 Location: Sacramento, CA
|
 Re: Tab order of input components
While a customizable tab order wouldn't be a bad thing, I personally hate the way Visual Basic does it. Their 'tab order' ( at least back in the day when I used VB) was an integer that was initialized based on the order that you had dropped the components on the screen, which meant that the tab order was always wrong and bizarre. Also, whenever you rearrange a screen, the tab order would get screwed up, forcing a tedious re-ordering task.
FactoryPMI intuits the tab order based on right-to-left top-to-bottom positioning of the components. This might not be perfect, but we'd have to think of a better way than VB's method before we were to change it...
Anyhow, glad you got it working by group the components together in containers.
_________________ Carl Gould
Software Development
Inductive Automation
|
| Mon Aug 11, 2008 8:22 am |
|
 |
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|