-
I can do alot of things in VB but one thing that has evaded me is how to change the color of the text on the buttons. I need to figure out how to do it for the program i'm writing (a periodic table), and i just cant figure out how to do it.
Thanks,
Kalicki
-
add components:
Use the Microsoft Forms 2 controls (i think that was it)
it has a command button that the text color can be changed on.
-
Or use a Checkbox, set the Style to Graphical.
And since it stays checked, just uncheck it.
Code:
Private Sub Check1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Check1.Value = vbUnchecked
End Sub
-
i tried geoff_xrx's solution and it worked
Thanks to both of you,
Kalicki
-
There is also a button shipped with Sheridan 3D controls that lets you do this.