Access Command Buttons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can you tell me if it is possible to change the color of a command button in
forms. Also how do you download some new styles for the forms?
 
is not really possible to chnage the color background color for a
CommandButton so you'll need to use some workarounds:
a) set Transparent to yes and place a coloured box behind the button.
b) use formated Labels + OnClick event.

if you gonna use B), don't forget - labels don't get Focus, so you can miss
some Afterupdate or On Exit events for certain controls, if you click on
that Label after changing their values.
 
Hi,

You cannot change the color of just one button, since they are colored
accordingly to the user selection, system wide.

If you want a cheap alternative, you can try to use a label with some
"border effect" to simulate the button. The BackColor property can be used
to have some "color". If the application has to be used "at large",
preferable to leave and use the user selection: some people are blind color
or have problem with some mix of color: they take time to "specify" the
color they want in their settings, and are happy when an application respect
their choice, rather than imposing its own "artistic" taste. Sure, if it is
just for you, then, that is another matter, completely.



Hoping it may help,
Vanderghast, Access MVP.
 
Back
Top