<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/11/2018 07:18 PM, Werner Pamler
via Lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:55d05d06-4a0b-a353-b23a-d8e6e870f381@freenet.de">Am
12.04.2018 um 00:02 schrieb Donald Ziesig via Lazarus:
<br>
<blockquote type="cite">I am trying to write an app that allows me
to drag images and show them while they are being dragged (like
the cards in Solitaire).
<br>
<br>
I have been able to drag images (showing only the drag cursor)
and drop them appropriately, but I haven't been able to find any
recent documentation showing the use of TDragImageList and
TDragObject.
<br>
<br>
The only articles that I have found are for Delphi from 2011
(which translates to Lazarus but doesn't work correctly) and
some more recent that don't show the dragged image while the
drag is taking place (I have that part working).
<br>
<br>
I was able to show a dragged image by adding code to the
DragOver event, but that seems to take more time than it should.
<br>
<br>
Can anyone point me in the right direction for this?
<br>
</blockquote>
<br>
There is a sample in folder examples/dragimagelist of your Lazarus
installation - maybe it gets close to what you need?
<br>
</blockquote>
<p>You're right. It gets <b>close</b> but not quite there. I can
move the control so long as the mouse is <b>not</b> over the
control while it is moving <span class="moz-smiley-s2"><span>:-(</span></span>.
I will look at this closer in the morning and see if I can work
around it (or if there is something I am missing).</p>
<p>Thanks!</p>
<p>Don<br>
</p>
</body>
</html>