资 源 简 介
在Windows环境下,鼠标和键盘是主要的输入设备。在Delphi中几乎每个对象都具有反映鼠标控制的事件,这些事件的主要功能包括改变鼠标指针的形状,移动、触发、拖动鼠标等。鼠标控制的三个相关属性是Cursor、DragCursor、DragMode;鼠标控制的三个对象方法是BeginDrag、Dragging、EndDrag;鼠标控制的七个事件包括OnDragDrop等。-In the Windows environment, the mouse and keyboard are the main input device. In Delphi, almost every object has to reflect the control of the mouse events, these events are the main functions include changing the shape of the mouse pointer, move, trigger, drag the mouse and so on. Mouse control of three related attributes are Cursor, DragCursor, DragMode mouse control of the three objects is BeginDrag, Dragging, EndDrag mouse control of the seven events, including OnDragDrop so.