Connecting Tech Pros Worldwide Help | Site Map

Is it possible to identify Page Index of Tab Control?

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 06:05 AM
deko
Guest
 
Posts: n/a
Default Is it possible to identify Page Index of Tab Control?

Private Sub tabTools_Change()
Debug.Print Me.tabTools.Pages.Item(0)
End Sub

This always prints 0. How do I get the Tab/Page that is clicked, or better
yet, that is currently active?

Thanks in advance.



  #2  
Old November 13th, 2005, 06:05 AM
Darryl Kerkeslager
Guest
 
Posts: n/a
Default Re: Is it possible to identify Page Index of Tab Control?

The Value property of the tab control will tell you the active page:

Me.tabTools.Value


Darryl Kerkeslager

"deko" <www.clearpointsystems.com@use_contact_form.com> wrote:[color=blue]
> Private Sub tabTools_Change()
> Debug.Print Me.tabTools.Pages.Item(0)
> End Sub
>
> This always prints 0. How do I get the Tab/Page that is clicked, or[/color]
better[color=blue]
> yet, that is currently active?
>
> Thanks in advance.
>
>[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.