如何设置按钮内字体的颜色?
											本站和网上有两个较确定的方法:一是用API;二是“最好用image做按钮
上面放上label控件(现在我都是这么做)”。
请教那位高手教教一和二的方法,并提供附件。谢谢。
[此贴子已经被作者于2017-4-18 09:50编辑过]
程序代码:
Private Sub Check1_Click()
If Check1.Value <> 0 Then       '如果当前为下沉状态,不响应
    Check1.Value = 0            '设置为不不沉状态
    MsgBox "OK1"                '响应动作
End If
    
End Sub
Private Sub Check2_Click()
If Check2.Value <> 0 Then
    Check2.Value = 0
    MsgBox "OK2"
End If
End Sub
Private Sub Check3_Click()
If Check3.Value <> 0 Then
    Check3.Value = 0
    MsgBox "OK3"
End If
End Sub
Private Sub Check4_Click()
If Check4.Value <> 0 Then
    Check4.Value = 0
    MsgBox "OK4"
End If
End Sub
										
					
	