Mike Eghtebas
asked on
Make tab page visible/invisible...
Dim bolVisibility as Boolean
bolVisibility = Me!tabControlName.TabIndex (0).Visibl e
Me!tabControlName.TabIndex (0).Visibl e = Not(bolVisibility)
In an event, I want to switch a tab page from visible to invisible and vs.
The above code dosen't work. What is the correct code?
Thank you.
bolVisibility = Me!tabControlName.TabIndex
Me!tabControlName.TabIndex
In an event, I want to switch a tab page from visible to invisible and vs.
The above code dosen't work. What is the correct code?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
MX,
I tired the exact same code. It didn't work.
I will try it again.
GRayL,
Yes, it is the page not the tab control.
brb,
Mike
I tired the exact same code. It didn't work.
I will try it again.
GRayL,
Yes, it is the page not the tab control.
brb,
Mike
ASKER
Thank you.
IF Me!tabControlName.TabIndex
Me!tabControlName.TabIndex
Else
Me!tabControlName.TabIndex
Endif