Command Buttons on forms

A

AgentX

Is it possible to make command buttons in any color other than default
gray? And can you change the text with code ? In other words instead
of hard-coding the text on the button, can you display text which is
'situational' ? Any help or hints would be greatly appreciated !
 
G

G. Vaught

The Command buttons will default to the Windows colors. You can not change
this. However, it may be possible to accomplish the same event using a label
that can be colored and even made to act like a rollover.
 
D

DebbieG

Yes, you can change the text displayed on a button with code.

If whatever you're checking for then
me.NameOfButton.caption = "Text to be displayed on button"
else
me.NameOfButton.caption = "Text to be displayed on button"
end if

HTH,
Debbie

| Is it possible to make command buttons in any color other than default
| gray? And can you change the text with code ? In other words instead
| of hard-coding the text on the button, can you display text which is
| 'situational' ? Any help or hints would be greatly appreciated !
|
 

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