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

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
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
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
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json