Link to home
Start Free TrialLog in
Avatar of Patrick
PatrickFlag for United States of America

asked on

Question about colors in tab controls

I use tab controls for pages in a form used for data entry.
I have a rectangle object  placed in the background of each tab for color. This works fine.
However, I am not able to extend the rectangle to the name or page number part or the tab.
I have tried creating a separate smaller rectangle to place over the name part of the tab but I could not get this to work.
Is there a way to change the color of the entire tab control?
Or, if not, then change the color of the text in the name part of the tab.
thank you.
ASKER CERTIFIED SOLUTION
Avatar of jefftwilley
jefftwilley
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Patrick

ASKER

Thanks a lot Jeff. It's good to know that others have had to deal with this.
I'm sure I'll have more questions in the future.
Thank you.
Pat
As a discussion point...
I find it easier to create nice looking forms that simulate tabs by using graphics that look like 3-d buttons. Any manner of gradient filled or shading gives a really nice web-like appearance. line up your graphics horizontally and you get a nice side by side panel of buttons that when clicked, controls the visibility of a subform on the main form. you can use shaded copies of your buttons to give the appearance of the active button being bright, and the rest dulled  as if they are in the background. There are mouse-over tricks that can be used as well that can also mimic this behavior. Use image controls to contain the buttons or bars. You can add text to them also to label your "tabs" and there's no end to the creative manipulation of this method.
The bottom line is, the tab controls in existence for Access aren't all that great. So we as developers have to be creative in order to get around that. It would be nice if there was a simple way to have colored tabs...and with the switch to Access2007, you have a bit more .NET control over visible objects. But be flexible, be creative, and you can make amazing looking forms that are just as functional.
J
Avatar of Patrick

ASKER

Thank you for the interesting ideas. I look forward to trying and learning more about this.
It's very satisfying to come up with a nice looking form and use it for other forms.
thanks!
P