全部题库 / VB / 试题详情
单选题 VB
2014-09-05

为了使命令按钮(名称为Command1)右移200,应使用的语句是(  )。

A.Command1.Move-200
B.Command1.Move 200
C.Command1.Left=Command1.Left +200
D.Command1.Left =Command1.Left-200

参考答案

C

答案解析

本题考查Visual Basic控件的Left属性。为了使Command1右移200,只需将其Left属性值加上200。选项A、B为错误用法,Command没有Move属性。