Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / March 2005

Tip: Looking for answers? Try searching our database.

Navigation off of tab control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Laurel - 18 Mar 2005 17:12 GMT
I have a window with search fields at the top and a tab control with a
number of tabpages at the bottom.  Is there a way to use the keyboard to get
from a tabpage back up to the search fields?
Van T. Dinh - 19 Mar 2005 00:11 GMT
From a TextBox on one of the Tab Pages, I have to use:

Shift + Tab to set the Focus to a Tab Page and not the TextBox Control
Shift + Tab to set the Focus to the Control just before the TabControl.

If you use it often, set the Form's KeyPreview to Yes/True and use the
Form_KeyDown (?) Event to check for the selected shortcut key to move the
Focus as required.

Signature

HTH
Van T. Dinh
MVP (Access)

> I have a window with search fields at the top and a tab control with a
> number of tabpages at the bottom.  Is there a way to use the keyboard to get
> from a tabpage back up to the search fields?
Laurel - 19 Mar 2005 03:58 GMT
I think the idea of a hot key is the way I'll want to go.  Can you tell me
how to reference specific keys in a script?  (i.e., test for whether a key
has been pressed?)  Or point to the location in Help?  I'm afraid I find VB
help not always helpful.  Some of the most critical info is buried and not
indexed.

> From a TextBox on one of the Tab Pages, I have to use:
>
[quoted text clipped - 9 lines]
> get
> > from a tabpage back up to the search fields?
Van T. Dinh - 19 Mar 2005 14:07 GMT
Check Access VB Help on the KeyPreview Property of the Form and the KeyDown
Event of the Form.  The sample code is nearly what you want.

Signature

HTH
Van T. Dinh
MVP (Access)

> I think the idea of a hot key is the way I'll want to go.  Can you tell me
> how to reference specific keys in a script?  (i.e., test for whether a key
> has been pressed?)  Or point to the location in Help?  I'm afraid I find VB
> help not always helpful.  Some of the most critical info is buried and not
> indexed.
Laurel - 20 Mar 2005 22:16 GMT
Great.  All is working well.  Thanks!

> Check Access VB Help on the KeyPreview Property of the Form and the KeyDown
> Event of the Form.  The sample code is nearly what you want.
[quoted text clipped - 5 lines]
> > help not always helpful.  Some of the most critical info is buried and not
> > indexed.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.