Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TAB Key on a button

Status
Not open for further replies.

PaulBarbeau

Programmer
Nov 23, 2000
109
CA
I want to make a button (for use on a touch screen) that simulates the pressing of a tab key. Does anyone know how to make it so my focus changes to the next field in the tab order when i press this button
 
Hi

While you are using Touchscreen monitor, users could directly press the next numbered item and so will be good idea if you use numbers along with your questions. So users can directly choose the right answer in the question order.

Probably you can make only the next question as enabled option and the rest as disabled. When that question is answerd, the next valid question will become enabled and so on. Event the font size of the enabled question cab be larger compared to rest of the questions.

However directly coming to your question,
Have you tried as that buttons click event,
KEYBOARD '{TAB}'

:)

ramani :)
(Subramanian.G)
 
You might be right then can click on the field when they want enter data into it so i might not need this however it would make data entry faster if they can stay on the screen control keyboard.

keyboard {tab} will not work kuz it take me to the next field on the control keyboard not the field.

What i have done is name the field in the order i want move so the set the focus to the next field. It would be nice to use the object.tabindex to find out the next form object and move to it however i do not know how to do that.

Thanks for the help
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top