单选题
编写如下事件过程: Private Sub Form_MouseDown(Button AS Integer,Shift AS Integer,_ X As Single,Y As Single) If Shift=6 And Button=2 Then Print,"PC" End If End Sub 程序运行后,为了在窗体上输出“PC”,应执行的操作为( )。
A、
主索引
B、
候选索引
C、
惟一索引
D、
普通索引
【正确答案】
D
【答案解析】
CheckBox控件的Value属性取值是0、1或2;OptionButton控件的 Value属性取值是True或Falseo。
提交答案
关闭