how do I change the text color on a command button?? I am using VB5
Printable View
how do I change the text color on a command button?? I am using VB5
Not sure if VB5 has the Style property, but...
place a checkbox on the form, set it's style to Graphical, set it's forecolor to change the font.
Code:Private Sub Check1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Check1.Value = vbUnchecked
End Sub
'or
Private Sub Check1_Click()
If Check1.Value = vbChecked Then
Check1.Value = vbUnchecked
'code
End If
End Sub