读书人

还是刚才那个有关问题Button2.Focus

发布时间: 2012-01-26 19:40:46 作者: rapoo

还是刚才那个问题,Button2.Focus
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click
Button2.Focus() = True
End Sub
有问题,说Button2.Focus() = True
Expression is a value and therefore cannot be the target of assigment.
应该怎么改阿?

[解决办法]
Me.ActiveControl = Button2试一下。

读书人网 >VB Dotnet

热点推荐