Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Usage > Re: Drag and Dr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 94 of 175
Post > Topic >>

Re: Drag and Drop rows in a TStringGrid

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
======================================
 




 3 Posts in Topic:
Drag and Drop rows in a TStringGrid
rwmorey@[EMAIL PROTECTED]  2004-02-05 07:08:10 
Re: Drag and Drop rows in a TStringGrid
"Bruce Roberts"  2004-02-06 13:01:58 
Re: Drag and Drop rows in a TStringGrid
"Hans Lohninger"  2004-05-01 00:02:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:25:23 CDT 2008.