首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

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

2012-01-26 
还是刚才那个问题,Button2.FocusPrivateSubButton1_Click(ByValsenderAsSystem.Object,ByValeAsSystem.Eve

还是刚才那个问题,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试一下。

热点排行