Command button Color

Dave Titan

Registered User.
Local time
Today, 22:43
Joined
Jan 1, 2002
Messages
69
Any Ideas on how to change the color of a command button from the grey, all options in properties seems to greyed out?
 
No can do.

You can use a label though, and use the "On Click" Event to emulate a command button.

HTH

Brad
 
Further to my previous response (if you can be bothered)

To emulate the "pressing" of a button.

Set the "Special effect" of the label to "Raised"

Then use:
"On Mouse Down" event to
me.labelname.specialeffect = 2

"On Mouse Up" event to
me.labelname.specialeffect = 1

Works nicely.

Brad.
 
You could also try this...

Dave

On Candace Tripps website there is an example database containing many coloured command buttons

Coloured Command Button Example

Go to the MS Access Downloads Link

HTH

Graham
 
Can this be done with a text box, too?

Greetings,

I've been playing with the command button color routine discussed here.

I've tried to adapt the same thing to a text box. I have an unbound text box which returns a value.

I've been able to get the text box to behave like a command button in the above posts, EXCEPT that when I try to place command button commands, such as OpenForm (OnClick event), nothing happens.

Is it even possible to do this?

Bob in Indy
 

Users who are viewing this thread

Back
Top Bottom