Coloured Buttons
Printable View
Coloured Buttons
just to note that the module in this entry was taken from vbthunder.com
http://www.vbthunder.com/default.asp?srcget=1
That's right . Thanks :)
Decent, but what's wrong with using a checkbox? Set the Style to Graphical, and add this to the code...
VB Code:
Private Sub Check1_Click() Check1.Value = vbUnchecked End Sub
And you have the BackColor and ForeColor properties available by default. Among the few things you lose are the Default and Cancel properties, though.
:)
Sounds unusual !! We don't used to have Checkbox as Commandbutton but it does the job perfectly !;)
Tried that once but I didnt like the final result. The code in the checkboxs ( i made into buttons) when tabbed on to the code would automatically execute without clicking having to click the checkbox. The checkbox is easy maybe for one or two buttons but if you need more than that I would highly suggest Pirate and Buggy's approach :)