Click to See Complete Forum and Search --> : Command button
badgers
Jan 20th, 2000, 12:18 AM
how do I change the color of a command button and the color of the text?
I want to make the button black with white text.
thank you for your time and have good day
------------------
I am so skeptacle, I can hardly believe it!
Aaron Young
Jan 20th, 2000, 01:16 AM
You can change the BackColor Property of a Command Button if the Style Property is set to 1 - Graphical, you can't however change the ForeColor, (probably could with Subclassing), instead, you could use a Checkbox with a Style Property of 1 - Graphical and add the line:
Check1 = 0
in the Click Event, this will make the checkbox look and act like a Command Button, but you can change both the BackColor and the ForeColor to anything you want.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com
jkurpias
Jan 20th, 2000, 01:17 AM
I use a shareware program called IconEdit Pro available at download.com. With this software you can create any style button face.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.