Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ctrl + Tab key on VB 6.0

Posted on 2004-04-21
9
Medium Priority
?
605 Views
Last Modified: 2013-12-26
Hi,

How to enable the ctrl+tab key on vb form ? By setting the TabIndex and Tabstop properties, I can move around the object in VB with the tab key. However, pressing ctrl+tab key proves to have no effect on changing the tab position. How can I achieve this ?

Thanks
0
Comment
Question by:hama-ayu-ism
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 3

Expert Comment

by:pg_india
ID: 10875968
could you please tell me what kind of effect you want on ctrl + tab key??
0
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 10876075
To go to the next controls in layout in sequence order, first, try to set the TabIndex of the control acsending, start with 0 as the Form default focus controls. Set the TabStop Property to False if you want the control to bypass the "Tab" keypress. And when your form is running, just using keypress "Tab" to move the focus to next control (based on TabIndex and TabStop Property), but not Ctrl+Tab.
0
 
LVL 6

Expert Comment

by:mmusante
ID: 10878174
ctrl + tab is usually used to change window in MDI applications
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:hama-ayu-ism
ID: 10885322
Hi all,

pg_india and ryancys : What I want to achive is to enable the user to fill all the textbox without having to use the mouse. I have set the tab index in order, and pressing the tab key would made the focus jump from one textbox to the other according to the tab order I have set. Let's say I have 3 text box, namely text1, text2 and text3.
On form load, text1 would have the focus. If I press the tab key, it would jump to text2. How do I get back to text1 withou having to press the tab key twice, but only have to press ctrl+tab and the focus would change from text2 back to text1 ? This is what I want to achieve.
Please let me know if I am not clear. English is not my first language, so please pardon me for any misunderstanding

mmusante : I think that should be Alt + tab to change windows ??

Thanks all
0
 
LVL 6

Expert Comment

by:mmusante
ID: 10885880
Alt + tab for standard windows (SDI applications)
ctrl + tab for windows internal to a MDI application
0
 
LVL 6

Accepted Solution

by:
mmusante earned 380 total points
ID: 10885885
>>>  How do I get back to text1

Try using shift - tab
0
 
LVL 2

Expert Comment

by:gimmeadrink
ID: 10885913
yep mmusant is right about all of them

shift is used for backwards in all parts of windows.

e.g.

shift + tab: goes to previous tab stop
shift + alt + tab: goes to previous application
shift + ctrl + tab: goes to previous mdi window
0
 
LVL 53

Expert Comment

by:Ryan Chong
ID: 10885922
and use Ctrl+F6 to change focus on internal windows
0
 

Author Comment

by:hama-ayu-ism
ID: 10886115
Ok,

Thanks all for the answers. Never thought off using shift + tab.

Thanks. Points goes to mmusante.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question