Well there is a procedure for a TStringList called Move, where you specifiy the old index then the new one. This might be of some help Jeremy
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eion McIntosh (Christchurch) Sent: 2 February 2007 09:07 To: NZ Borland Developers Group - Delphi List Subject: [DUG] Stringgrids Hi I havd a look, but can't see anything, but can you take 2 rows within a TStringGrid and swap them? I have some details in a stringgrid but would like to sort it on one of the rows after it has been filled. I can't fill it in order to start with because the source data is coming from two different sources. Regards Eion McIntosh PPCS Ltd -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 31/01/2007 15:16 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 31/01/2007 15:16
_______________________________________________ Delphi mailing list Delphi@ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi