【单选题】在窗体上画一个命令按钮Command1和两个文本框,名称分别为Text1和Text2。编写如下两个事件过程: Dim Str1 As String,str2 As String Private Sub form_load() Text1.Text='' Text2.Text='' Text1.Enabled=False Text2.Enabled=False End Sub Private Sub...
【简答题】在窗体上画一个命令按钮Command1和一个标签Label1,把窗体的KeyPreview属性设置为True,然后编写如下事件过程:Dim mystr As StringPrivate Sub Command1_Click()Label1.Caption = LCase(mystr)End SubPrivate Sub Form_KeyPress(KeyAscii As Integer)mystr...
【单选题】在窗体上画一个命令按钮command1和两个文本框,名称分别为Text1和Text2。编写如下两个事件过程: Dim Str1 As String,str2 As String Private Sub form_load() Text1.Text=' ' Text2.Text=' ' Text1.Enabled=False Text2.Enabled=False End Sub Private S...