主题:问一段代码
Private Sub enableButton(bEnable As Boolean)
cmdAdd.Enabled = bEnable
cmdMinus.Enabled = bEnable
cmdMultiply.Enabled = bEnable
cmdDivide.Enabled = bEnable
End Sub
我在保存为exe的时候,遇到enableButton的地方提示我函数未定义
是不是我这段写的不对?
我还有另一段代码就没有问题
Private Sub enableCard(bEnable As Boolean)
imgCard1.Enabled = bEnable
imgCard2.Enabled = bEnable
imgCard3.Enabled = bEnable
imgCard4.Enabled = bEnable
End Sub
谢谢
cmdAdd.Enabled = bEnable
cmdMinus.Enabled = bEnable
cmdMultiply.Enabled = bEnable
cmdDivide.Enabled = bEnable
End Sub
我在保存为exe的时候,遇到enableButton的地方提示我函数未定义
是不是我这段写的不对?
我还有另一段代码就没有问题
Private Sub enableCard(bEnable As Boolean)
imgCard1.Enabled = bEnable
imgCard2.Enabled = bEnable
imgCard3.Enabled = bEnable
imgCard4.Enabled = bEnable
End Sub
谢谢