Connecting Tech Pros Worldwide Help | Site Map

Is it possible to identify Page Index of Tab Control?

deko
Guest
 
Posts: n/a
#1: Nov 13 '05
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.


Darryl Kerkeslager
Guest
 
Posts: n/a
#2: Nov 13 '05

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 Microsoft Access / VBA bytes