• 0

[VB] Very Weird - Frames in TabStrip XP-style


Question

options.gif

Does anyone know how to fix this little problem? The TabStrip has no backcolor property and i'm all out of ideas. I would like to get it to look good on XP and lower.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
Originally posted by PabUK

Change the background color of the frames to "ButtonFace".

That's what they're set at right now, doesn't do anything.

Link to comment
Share on other sites

  • 0
Originally posted by PabUK

Strange it does for any frames I create. Perhaps it is because of the XP styling. I assume you are using a manifest file?

Yes, i'm using a manifest. Question: do you have VB6 and XP? And if you do were you able to properly create frames in a tab strip? If so, could you post a screenshot?

Thanks!

Link to comment
Share on other sites

  • 0

This is evident in VB.net, C#.net, and Vb6, and occurs because of an incompatibility between the XP visual styles and the tab control. There is *no* workaround in VB, nor is it an issue that concerns the manifest. If you ask me, it?s more of a big problem, because the only way you can get the themed appearance is through a C++ DLL, then referencing it in VB.

I don?t exactly know how far this?ll get you, because you?re using VB6, but I know from experience that this works perfectly in Vb.NET. Hope this helps:

http://codeproject.com/cs/miscctrl/themedtabpage.asp

Link to comment
Share on other sites

  • 0

How about setting the frame's appearance to flat, along with all the other controls... Perhaps, test for what platform you're app is on, and set the appearance based on that.

BTW, I couldn't even get the tabs to style properly w/ VB6. They still appear unthemed. wierd.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.