469,626 Members | 1,611 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Change background/tab colour of tabControl?

I'm using a tabControl on one of the forms of my MS Access database. The
grey bar looks pretty bad on my form.

Is there any way to change the colour of the tabs or the tab background for
the tabControl in MS Access? I'd even resort to an API call if necessary.

Thanks!

P.s. Anyone else having problems posting to the Microsoft news server?
Nov 13 '05 #1
4 28383
Noozer,
Somewhat. Set the background style to transparent and the color of the
detail section will show through. I still haven't puzzled out how to change
the color of the tabs, though.
You might have more luck with the controls available in Data Access Pages,
perhaps.

"Noozer" <do*******@me.here> wrote in message
news:HE_Fc.24412$P7.6767@pd7tw3no...
I'm using a tabControl on one of the forms of my MS Access database. The
grey bar looks pretty bad on my form.

Is there any way to change the colour of the tabs or the tab background for the tabControl in MS Access? I'd even resort to an API call if necessary.

Thanks!

P.s. Anyone else having problems posting to the Microsoft news server?

Nov 13 '05 #2
See:
http://www.lebans.com/tabcolors.htm
Tabs.zip is an MDB containing a class to enhance the standard Access TAB
control in order to allow for:

1) Tabs of any color
2) Rotated Text

Notes:
You must set the Tab controls TAB Fixed Height and Width properties
You must set the Individual Tab pages TAG property to whatever color
value you desire.
History
Version 1.6
Added support to allow for the coloring of just the Current/Active TABS
and not the background of the Tab control

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Noozer" <do*******@me.here> wrote in message
news:HE_Fc.24412$P7.6767@pd7tw3no...
I'm using a tabControl on one of the forms of my MS Access database. The grey bar looks pretty bad on my form.

Is there any way to change the colour of the tabs or the tab background for the tabControl in MS Access? I'd even resort to an API call if necessary.
Thanks!

P.s. Anyone else having problems posting to the Microsoft news server?


Nov 13 '05 #3
Stephen Lebans has what you need to set the tab colors at:
www.lebans.com/toc.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Noozer" <do*******@me.here> wrote in message
news:HE_Fc.24412$P7.6767@pd7tw3no...
I'm using a tabControl on one of the forms of my MS Access database. The
grey bar looks pretty bad on my form.

Is there any way to change the colour of the tabs or the tab background for the tabControl in MS Access? I'd even resort to an API call if necessary.

Thanks!

P.s. Anyone else having problems posting to the Microsoft news server?

Nov 13 '05 #4
Thanks, but that is overkill for what I need.

"Stephen Lebans" <Fo****************************************@linval id.com>
wrote in message news:4V*********************@ursa-nb00s0.nbnet.nb.ca...
See:
http://www.lebans.com/tabcolors.htm
Tabs.zip is an MDB containing a class to enhance the standard Access TAB
control in order to allow for:

1) Tabs of any color
2) Rotated Text

Notes:
You must set the Tab controls TAB Fixed Height and Width properties
You must set the Individual Tab pages TAG property to whatever color
value you desire.
History
Version 1.6
Added support to allow for the coloring of just the Current/Active TABS
and not the background of the Tab control

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Noozer" <do*******@me.here> wrote in message
news:HE_Fc.24412$P7.6767@pd7tw3no...
I'm using a tabControl on one of the forms of my MS Access database.

The
grey bar looks pretty bad on my form.

Is there any way to change the colour of the tabs or the tab

background for
the tabControl in MS Access? I'd even resort to an API call if

necessary.

Thanks!

P.s. Anyone else having problems posting to the Microsoft news server?

Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Martin | last post: by
4 posts views Thread by david.graham18 | last post: by
3 posts views Thread by Hans Karman | last post: by
4 posts views Thread by Lachlan Hunt | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.