单选题
VB
题号 #484376
在窗体上画一个文本框,其名称为Text1,为了在程序运行后隐藏该文本框,应使用的语句为( )
参考答案
B
答案解析
Visible属性用于表示控件是否可见,Enabled属性用于表示控件是否可用。要将文本框_Text1隐藏,将 其Visible属性设置为False即可。
你可能感兴趣的试题
A.Private Sub Text1_Change()
Label 1.Caption=Text1.Text
End Sub
Label 1.Caption=Text1.Text
End Sub
B.Private Sub Text1_Click()
Label 1.Caption=Text1.Text
End Sub
Label 1.Caption=Text1.Text
End Sub
C.Private Sub Labell_Change()
Label 1.Caption=Text 1.Text
End Sub
Label 1.Caption=Text 1.Text
End Sub
D.Private Sub Label1_Click()
Label 1.Caption=Text 1.Text
End Sub
Label 1.Caption=Text 1.Text
End Sub
