Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSTab control hide tab 1

Status
Not open for further replies.

deulyd

Programmer
Oct 17, 2001
106
CA
Hi all,
I'd like to know if anybody know how can I hide the tabs with the Microsoft SSTab control. I know I can set the property TabHeight property to 1 but we can still see them.

Thanks

Deulyd
 
Thanks vidru,

but that's not what I'm looking for. I'd like to hide only the thing to switch pages; not the entire tab.
 
That's what the index is for...

If you've got an SSTab with three tabs, they'd presumably have indices of 0, 1, and 2 respectively.

If you want to hide the third tab, you'd use:
SSTab1.TabVisible(2) = False

-dave
 
No that's not it..... I dont want to hide the entire page. Just the little things to switch between pages. I can't set their height to 0 and if I set it to 1 I still see some garbage on the tab.
 
Do just want the tabs to act as containers for some controls and determine which conatainer is displayed via code only (no switching via the user clicking on the control on the GUI)?

If so you can use frames as the container(s) and you won't have the issue you are having now. Food for thought.

Take Care,

zemp

"If the grass looks greener... it's probably because there is more manure."
 
Or perhaps create one or two other controls that will blot out the tab area and 'draw' the line that need to 'seal the gap' that will appear in the border. Then make these 'blot out' controls visible or invisible as necessary to give the illusion of what you want.
 
You can blot them out as Glasgow suggests above with a properly formatted frame, but in my tests, it still shows a tiny bit of "garbage".

-dave

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top