Tab Control Button colour

  • Thread starter Thread starter Tony Williams
  • Start date Start date
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
 
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.
 
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.
 
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.
 
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
 
Back
Top