Tab Control Button colour

T

Tony Williams

I have a tab control on a form where the pages have buttons. I've changed
the back style of the pages to transparent so that it is the colour of the
detail section of my form but the buttons wont change to the colour of the
page. Anyone any ideas? I can't find a property for the buttons that gives
me back colour.
Thanks
Tony
 
R

Rick B

Please note, this is asked and answered all the time. In the future, I'd
suggest you search for your answers before posting a new thread. The
easiest way I have found is to go to www.google.com, click the "groups"
option, and enter a search string similar to the following...



microsoft.public.access tab color


Doing so results in over 1,000 previous posts related to this topic.
 
D

Dirk Goldgar

Tony Williams said:
I have a tab control on a form where the pages have buttons. I've
changed the back style of the pages to transparent so that it is the
colour of the detail section of my form but the buttons wont change
to the colour of the page. Anyone any ideas? I can't find a property
for the buttons that gives me back colour.

Access command buttons don't have a BackColor property. I can think of
a couple of possible solutions to this problem.

1. You can put a label or locked text box on the form, with its
BackStyle set to Transparent and its SpecialEffect set to Raised, and
put a *Transparent* command button on top of that.

or

2. You can use Stephen Lebans command button utilities to provide a
BackColor property for your buttons:

http://www.lebans.com/cmdbutton.htm

I think he does this by swapping in a colored bitmap for the button
face.
 
T

Tony Williams

Thanks Rick!
Rick B said:
Please note, this is asked and answered all the time. In the future, I'd
suggest you search for your answers before posting a new thread. The
easiest way I have found is to go to www.google.com, click the "groups"
option, and enter a search string similar to the following...



microsoft.public.access tab color


Doing so results in over 1,000 previous posts related to this topic.
 
T

Tony Williams

Thanks Dirk. I've looked at these possibilities but I now think my problem
is more fundamental and I've posted a further question today.
Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top