[SOLVED] Form.DragDrop event - DragEvents argument X and Y do not contain drop coordinates

Answered Closed
0
0

I’m trying to enable DragDrop functionality to allow users to move controls on a form.

When the user drags a control the DragDrop event fired on the form does not have the current mouse position in the X and Y members of the DragEvents argument.

Nic

  • You must to post comments
Best Answer
0
0

Hi Nic,

the problem with drag drop coordinates not being transferred correctly is logged as WJ-7267
and fixed in the latest wisej build (1.1.95.0).

Best regards
Frank

  • You must to post comments
0
0

Thanks Luca – move and resize are certainly easier than drag and drop.

Nic

  • You must to post comments
0
0

Hi Nic,

Two issues 🙂

  • We have a couple of bugs related to drag & drop, one is the wrong coordinates being translated to local instead of screen or missing.
  • To move any Wisej control you can simply set Movable = true. You can also use ResizableEdges to enable resizing. When a control is resized or moved by the user, you’ll get the SizeChanged or LocationChanged events.

HTH

Best,

Luca

  • You must to post comments
Showing 3 results