单选题
VB
题号 #2536390
下列叙述中正确的是( )。
参考答案
C
答案解析
MsgBox()函数用于显示提示信息,并可返回一个代表用户点击了哪个按钮的Integer 类型值,其常用语法为:MsgBox pro mpt [,buttons ][,title])。其中:pro mpt 参数为消息框的提示信息,该参数是必需的;buttons参数是一个整数,用于控制消息框中按钮的数目、类型及消息框图标的样式;title 参数为消息框标题栏上显示的内容,如果省略title ,则将应用程序名放在标题栏中。MsgBox 语句没有返回值,在执行MsgBox 语句后,不关闭消息框将不能执行其他操作。
你可能感兴趣的试题
A.Private Sub Text1_Change()
Label1.Caption =Str(Len(Text1.Text))
End Sub
Label1.Caption =Str(Len(Text1.Text))
End Sub
B.Private Sub Text1_Click()
Label1.Caption =str(Len(Text1.Text))
End Sub
Label1.Caption =str(Len(Text1.Text))
End Sub
C.Private Sub Text1_Change()
Labe11.Caption =Text1.Text
End Sub
Labe11.Caption =Text1.Text
End Sub
D.Private Sub Label l_Change()
Label1.Caption =Str(Len(Text1.Text))
End Sub
Label1.Caption =Str(Len(Text1.Text))
End Sub
A.Option1.Value =False
Check1.Value =True
Check1.Value =True
B.Optionl .Value =True
Checkl .Value =0
Checkl .Value =0
C.Option2.Value =False
Check1.Value =2
Check1.Value =2
D.Optionl .Value =True
Checkl .Value =1
Checkl .Value =1
A.Right(c1,i)
B.Left(c1,i)
C.Mid(c1,i ,1)
D.Mid(c1,i ,i)
