Link to home
Start Free TrialLog in
Avatar of fadyg
fadyg

asked on

how to drag cursor in the manner of TListView

in TListView dragging an item would yield a drag cursor in the form of the item caption (when listview is in vsReport viewstyle).

Is it possible to replicate this behaviour on a tlist or any other component ?
Avatar of kretzschmar
kretzschmar
Flag of Germany image

get the free drag&drop suite at
http://www.melander.dk/delphi/dragdrop/
also look here for another components for drag and drop

http://www.torry.net/draganddrop.htm


Avatar of TOndrej
TOndrej

Yes, you can write a TDragObject descendant (overriding GetDragImages) and assign it to DragObject parameter in OnStartDrag event.
Avatar of fadyg

ASKER

thanks all for the links

TOndrej, do you happen to have a small working example of your solution ?

FadyG
ASKER CERTIFIED SOLUTION
Avatar of TOndrej
TOndrej

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fadyg

ASKER

short and straight to the point
thanks !!