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 / January 2007

Tip: Looking for answers? Try searching our database.

determing which page of tab control is 'on'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alekm - 13 Jan 2007 11:21 GMT
Hi,
what's the way to determine, using code, if the specific page of tab control
is selected (not necessairly in focus).
Thanx

alek_mil
Baz - 13 Jan 2007 11:37 GMT
The tab control's value is the page number.  For instance, if you have a tab
control tabControl, then this sort of thing is possible:

   Select Case tabControl
       Case 1
               '1st page
       Case 2
               '2nd page
   End Select

> Hi,
> what's the way to determine, using code, if the specific page of tab control
> is selected (not necessairly in focus).
> Thanx
>
> alek_mil
Rick Brandt - 13 Jan 2007 13:20 GMT
> The tab control's value is the page number.  For instance, if you have a tab
> control tabControl, then this sort of thing is possible:
[quoted text clipped - 5 lines]
>                '2nd page
>    End Select

Correct except that the first page index value will be zero, not one.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

Baz - 13 Jan 2007 13:55 GMT
Doh!

> > The tab control's value is the page number.  For instance, if you have a tab
> > control tabControl, then this sort of thing is possible:
[quoted text clipped - 7 lines]
>
> Correct except that the first page index value will be zero, not one.
 
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.