窗口中点击一个bottom控件,点击后,要实现一个textbox内输入使用者名称,一个textbox输入点击的时间,我在bottom控件设置click事件代码With Forms("缺陷单").Controls("接单人")
If .Value Is Nothing Then
e.Sender.SelectedText = User.name
Else
Messagebox.Show("已接单!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
End If
End With
预览后提示:未找到类型“Button”的公共成员“SelectedText”。
求帮助修改程序,还有点击显示的时间的代码怎么写啊???