by "Hans Lohninger" <hans@[EMAIL PROTECTED]
>
May 1, 2004 at 12:02 AM
"Rich Morey" <rwmorey@[EMAIL PROTECTED]
> schrieb im Newsbeitrag
news:f69a1b96.0402050708.254a9940@[EMAIL PROTECTED]
> Hi,
>
> I would like to be able to create a TStringGrid where the user could
drag
> and drop rows to re-order data..
>
> I have played around with the drag mode property and some other settings
but
> can't seem to make this work. Is this possible? Do I have to create code
for
> the OnStartDrag and OnEndDrag event?
>
> Rich
There is an example available for download which does what you are asking
for (though the sample program uses a different component -
TRe****tListView
instead of TStringGrid).
Goto the following Web page and look for the program "repldragdrop":
http://www.lohninger.com/examples_part3.html
Regards,
Hans
======================================
Hans Lohninger
EPINA GmbH - Software Development Lohninger
www.lohninger.com
mailto:office@[EMAIL PROTECTED]
+43-2233-541945
======================================