单项选择题

要在文本框获得焦点时操作文本框中的内容,应该在( )事件过程中编写程序。

A.GoFocus
B.LostFocus
C.Change
D.SetFoeus
<上一题 目录 下一题>
热门 试题

单项选择题
为了使一个窗体从屏幕上消失但仍在内存中,所使用的方法或语句为( )。
A.Show
B.Hide
C.Load
D.UnLoad
单项选择题
设在工程中定义了下列类型:Type Stutypeino As Integerstrname As String*20strsex As String*1smark As SingleEnd Type在窗体上正确使用这个类型的是下列哪个操作( )。
A.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname=smith .strsex=男 .smark=89 End With End Sub
B.Sub Command1_Click() Dim Student As Stutype With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub
C.Sub Comnland1_Click() Dim student As Stutype With Stutype .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub
D.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname="smith" .strsex="男" .smark=89 End student End Sub
相关试题
  • 在窗体上画一个名称为“Command1”、标题...
  • 在窗体上放置一个命令按钮Command1,并编...
  • 在窗体下画两个文本框Text1和Text2,一个...
  • 有下列事件过程:Private Sub Command1...
  • 有下列函数过程:Function fun1(ByVal ...