Home > Archive > MS Access database support > February 2006 > How to change the color of the buttons or the button from the switchboard?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to change the color of the buttons or the button from the switchboard?
AA Arens

2006-02-18, 8:24 pm

How to change the color of the buttons or the button from the
switchboard?

I use Access2003 but the database is from <2003, so the buttons are
gray and squaired.

Bart

fredg

2006-02-18, 8:24 pm

On 18 Feb 2006 16:37:09 -0800, AA Arens wrote:

> How to change the color of the buttons or the button from the
> switchboard?
>
> I use Access2003 but the database is from <2003, so the buttons are
> gray and squaired.
>
> Bart


Not using Access as delivered.

1) You can use an unbound label, color it as you wish.
Set it's SpecialEffects property to Raised, and code it's Mouse Up
event (LabelName.SpecialEffect = 1) and Mouse Down event
(LabelName.SpecialEffect = 2) to simulate movement.

Then code the label's click event as you would a command button.

2) Set a colored background as the Command Button Picture
property. You can use MSPaint to create the color picture background.
(Include the caption in the MSPaint picture, not in the command button
caption property.) A small bit of practice to get the size right, but
once you do it it's easy.

3) See
http://www.lebans.com
for his command button work-around.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com