Connecting Tech Pros Worldwide Help | Site Map

Is it possible to identify Page Index of Tab Control?

  #1  
Old November 13th, 2005, 07:05 AM
deko
Guest
 
Posts: n/a
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, 07:05 AM
Darryl Kerkeslager
Guest
 
Posts: n/a

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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
No CSS or PHP Includes showing on apache localhost site MaiyaHolliday answers 6 June 5th, 2007 09:36 PM