窗体的MouseDown事件过程如下: Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) 有4个参数,关于这些参数,正确的描述是 ______。

admin2009-03-15  26

问题 窗体的MouseDown事件过程如下:    Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)    有4个参数,关于这些参数,正确的描述是 ______。

选项 A、通过Button参数判定当前按下的是哪一个鼠标键
B、Shift参数只能用来确定是否按下Shift键
C、Shift参数只能用来确定是否按下Alt和Ctrl键
D、参数x和y用来设置鼠标当前位置的坐标

答案1

解析 Button参数可以确定用户是否按下Ctrl、Alt、Shift键。参数x和y只能读取当前鼠标的位置,不能用来设置鼠标当前位置的坐标。
转载请注明原文地址:https://kaotiyun.com/show/MD1p777K
0

最新回复(0)