There is a contradiction between drag and drop and mouse event detection in SWT

xiaoxiao2021-03-06  25

If the A component is a DragSource, then press the left mouse button on the A component, then drag to the B component, release the left mouse button, at this time, even if the B component registers the mouse event listener, the MOUSEUP event is implemented. Listening, will also capture the MouseUp event. As for how to achieve the function of dragging positioning, I have to think about it.

转载请注明原文地址:https://www.9cbs.com/read-65395.html

New Post(0)