Buttons, Do they allways have to be gray?
Buttons, Do they allways have to be gray?
(OP)
Changing the colour of the text on a button is easy, but I would realy like to change the colour of the button. Is it possible?, if so how.
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
Buttons, Do they allways have to be gray?
|
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: Buttons, Do they allways have to be gray?
If you want to change all the existing buttons on all of your existing forms, you need to do something like this psuedocode
For each Form in my Database
For each Control in Form.Controls
if Control.Type is CommandButton
Control.PropertyName is YourNewColor
Endif
Next
Next
Hope that helps.
Kathryn
RE: Buttons, Do they allways have to be gray?
What version of Ms. are you refering to? Up through '97, there is no property for the color of command buttons, in anything I've seen. It could be a nice feature, but I have never found it.
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
RE: Buttons, Do they allways have to be gray?
Could you use raised textboxes? You can make them locked but enabled and code into their click events.
Sorry for the misinformation.
Kathryn
RE: Buttons, Do they allways have to be gray?
A little disconcerting for some novice users, and not exactly the shape (rounded corner rectangle) of a standard "button" but functionally it will work JUST FINE.
If you got custom controls, You might find either a command button with the capability of changing the background color, or a way to mask the Label so it would have rounded corners.
Just to "see it in action", try one out with Part of the caption as "... Click Here to ..."?
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
RE: Buttons, Do they allways have to be gray?
Try this by setting the foreround coleor of a (normal?) command button to the grey that the background already is. Then try varying is slightly. Users WILL NOT appreciate the use of 'stealth technology' on the forms they need to use to get work done!!!
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
RE: Buttons, Do they allways have to be gray?
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over