StringgridsOr like this. TStringGridHack = class(TStringGrid);
Regards Leigh www.smootharm.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Martin Sent: Friday, 2 February 2007 9:45 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Stringgrids TCustomGrid.MoveRow() is a protected method (god knows why), so you will have to define a descendant grid class and make it public. TSuperDuperGrid = class(TStringGrid) public MoveRow(); end; ----- Original Message ----- From: Eion McIntosh (Christchurch) To: NZ Borland Developers Group - Delphi List Sent: Friday, February 02, 2007 9:06 AM 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 ---------------------------------------------------------------------------- _______________________________________________ Delphi mailing list Delphi@ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi ---------------------------------------------------------------------------- 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 3:16 p.m.
_______________________________________________ Delphi mailing list Delphi@ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi