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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphical tabs

Status
Not open for further replies.

techu4

Technical User
Jun 27, 2005
32
GB
Hi,

Does anyone know if there is a way that you can have tabs with a graphical background. The same as you can set the background of a form to graphical.

Any pointers would be much appreciated.

Regards

Techu4
 
If you use the SSTab control in 'Microsoft Tabbed Dialog Control', you can set the picture for the tab.

If you don't have a reference to the Tabbed Dialog Control, you can add it by pressing CTRL-T from within the VB IDE. Scroll down to 'Microsoft Tabbed Dialog Control' and select it. In the component window, there will now be an SSTab control. Drop it on to your form, Right-click and choose properties. There will be a tab across the top of the form labeled 'Picture'. Click the tab and set the picture.

Hope this helps.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Hi there,

I have looked at that and it only adds the images to the tab itself and not the section that were the controls sit.

i.e. you have the tabs accross the top and underneath the tab you have the area where you put your controls for each tab. It is that area that also needs to be graphical.

Any ideas.

Cheers
Techu4
 
Sorry that I misunderstood. You could try placing a picture box or image control on the tab. then you could put any image you want in there. You can also place other controls within the picture box that is within the tab control.

Does this help?

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Hi,

Thanks for that. It seems that is the only way to do it. Not quite what i was looking for but it is as close as i will get.

Thanks for your help.

Techu4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top