P
PeterM
This is driving me crazy. I have a tab control with 5
tabs (pages) on it. On each page is an ActiveX Web
Browser object called ActiveXCtl00 through ActiveXCtl04.
I need to determine which tab is active, in focus,
visible, etc. or which Web Browser object is active,
infocus, visible, etc.
I get an invalid reference message when I try any of the
following...
If Me.TabControl.Pages(0).IsVisible then....
If Me.TabControl.Pages("Tab Name").IsVisible then....
If Me.TabControl.Pages.Index(0).IsVisible then....
If Me.ActiveXCtl00.IsVisible then....
what am I doing wrong?
tabs (pages) on it. On each page is an ActiveX Web
Browser object called ActiveXCtl00 through ActiveXCtl04.
I need to determine which tab is active, in focus,
visible, etc. or which Web Browser object is active,
infocus, visible, etc.
I get an invalid reference message when I try any of the
following...
If Me.TabControl.Pages(0).IsVisible then....
If Me.TabControl.Pages("Tab Name").IsVisible then....
If Me.TabControl.Pages.Index(0).IsVisible then....
If Me.ActiveXCtl00.IsVisible then....
what am I doing wrong?