程序设计时需要窗体上有一个“”按钮,正确的方法是()。
A.添加CommandButton控件,并设置属性Font为“确定”
B.添加CommandButton控件,并设置属性Text为“确定”
C.添加CommandButton控件,并设置属性Caption为“确定”
D.添加Label控件,并设置属性Caption为“确定”
A.添加CommandButton控件,并设置属性Font为“确定”
B.添加CommandButton控件,并设置属性Text为“确定”
C.添加CommandButton控件,并设置属性Caption为“确定”
D.添加Label控件,并设置属性Caption为“确定”
设在窗体上有两个命令按钮,其中一个命令按钮的名称为cmda,则另一命令按钮的名称可能是()。
A.cmdc
B.cmdb
C.cmdA
D.Commandl
窗体上有一个命令按钮Command1,编写如下事件过程:
Private Sub Command1_Click()
x = InputBox("x=")
y = InputBox("y=")
Print x + y
End Sub
运行后,单击命令按钮,先后在两个输入对话框中输入123和321,窗体显示的内容是()。
A、 444
B、 123321
C、 123+321
D、 出错信息
某窗体中有一命令按钮,在窗体视图中单击此命令按钮打开一个报表,需要执行的宏操作是()。
A. OpenQuery
B. OpenReport
C. OpcnForm
D. OpenWindow
A.document.forms.UserName
B.document.MainForm.UserName
C.document.mainForm.username
D.document.forms.username
A.BorderStyle的值设为Fixed.Single,此项设置值的作用即禁止最大化和最小化按钮
B.窗体的MaxButton和MinButton值设为False
C.正常情况下新建的窗体都没有最大化和最小化按钮
D.该窗体可用鼠标拖动边框的方法改变窗体的大小
A.按钮左端到窗体左端的距离
B.按钮左端到图片框左端的距离
C.按钮中心点到窗体左端的距离
D.按钮中心点到图片框左端的距离
A ) Max
B ) Min
C ) SmallChange
D ) LargeChang
A.document. forms.myButton
B.document. mainF omm myButton
C.document forms[Q] element[叮]
D.以上都可以