Link to home
Start Free TrialLog in
Avatar of elson_fausto
elson_fausto

asked on

Problem with command button

I have a problem with regards to the color of the command button. I want to change the color of the caption (of the command button) to blue... it sounds like a simple question... but I really don't know how!!!
Thanks for helping!!!
Avatar of yronnen
yronnen

The standard command button in VB does not support the forecolor property, so you can't change the text color.
Options:
1. Download a customized command button from the internet (there are planty of free controls like this).
2. Build your own custom command as an ocx.
3."quick and dirty" : use a graphic editor and write the text with the desired size and color. Change the button style to Graphical, and change the picture property to the pricture you've created.
You can't change command button color, this is possible only by Active X or some other graphics control
Avatar of elson_fausto

ASKER

Do you have a sample code for it? Or maybe a site where I could download those OCXs?
i think a site that can help is www.earthweb.com
I'll try writing an ocx like that for you if you don't find something better.
Can one of you guys give me a sample OCX file?
ASKER CERTIFIED SOLUTION
Avatar of mannen
mannen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok... thanks!!!