Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

ListBox manual dragging...

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dominique Louis

Hi all,
Under Win32 if I wanted to stop a dragging operation that began with a call to the BeginDrag method I would call EndDrag(false) or similar.

I cannot find a Lazarus equivalent. Is this as expected or a bug?

Dominique.

Reply by email

Paul Ishenin
to Dominique Louis
Dominique Louis wrote 7 lines
Hi all, Under Win32 if I wanted to stop a dragging operation that began with a call to the BeginDrag method I would call EndDrag(false) or similar. I cannot find a Lazarus equivalent. Is this as expected or a bug?

Yes, indeed - TWinControl has BeginDrag method, but there is no EndDrag. You can call CancelDrag to stop your drag operation.

Best regards,
Paul Ishenin.

Reply by email