473,386 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 29383
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John D | last post by:
I am trying to change the background colour of either a div or a textarea with javascript, but am having problems. I have passed a hex colour value in the variable hval, and with the following...
4
by: Dj Frenzy | last post by:
Hi, I know how to use javascript to change a background image to another background image, and how to change a background colour to another background colour. Is there a way to change an image to a...
2
by: Martin | last post by:
Dear Experts! I'd be grateful if you can help me with this. I'm having an inline frame which points to 'www.externalsite.com'. The page which contains the inline frame has an orange...
4
by: david.graham18 | last post by:
Hi I spotted some nice code to change the background colour of a web page to one of four different colours at random but I can't find it now! The method was to select a number at random from 1...
1
by: Terry | last post by:
I have a form which displays data from both the Student Details table and the Exam Details table. The Name (Text Box) control is from the Student Details table and the Withdrawn (Check Box)...
3
by: Hans Karman | last post by:
Is there any way in which I can have the background colour of one or more records set to the colour stored in a datafield within the record? Hans Karman, Canberra, Australia
4
by: Lachlan Hunt | last post by:
Hi, I'm looking for an interoperable method of determining the current background colour of an element that is set using an external stylesheet. I've tried: elmt.style.backgroundColor; but...
3
by: Bundy | last post by:
Hi How do I change the background colour of an input box in a form as soon as the value is changed? Also the background should revert back to it's original colour if the user decides that they...
3
by: bettyboo | last post by:
Hi I'm new to the forum and also a VERY new user of Access to develop databases. I'm building a DB for a driving instructor acquaintance, and he wants a button on the pupil data entry form which...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.