Hi,
Check for CodeHealer.
http://www.socksoftware.com/codehealer.php
Best regards,
Sabu M H
Office: +91 44 4225 extn: 4440
mobile: +91 98404 85128
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Conor Boyd
Sent: Tuesday, January 30, 2007 1:59
Thanks for the link.
I probably should have been more specific. I'm looking more for a
performance profiling tool rather than a static one, so that I can see
where my COM server is spending it's time shutting down.
The previously suggested AQTime seems like a good option, although
expensive.
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
StringgridsTCustomGrid.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
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
Do you mean to sort by row or column? I am guessing if you are swapping
rows you are sorting by a column
I have written a general routine to sort any stringgrid by any two
specified columns, ascending or descending. I would be happy to post it if
interested.
I do it by using a temporary
If your not completely wedded to a TStringGrid you could use a TListView
instead as it has some sorting support built in.
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Eion McIntosh (Christchurch)
Yes thanks John. I don't really need to sort it but I'm sure that the user will
probably want the option available as similar linked details are likely to be
in two different places in the grid.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Bird
Here is the stringgrid sort routine - I use the stock standard VCL
stringgrid in many places and sort it using this.
I usually add a row of buttons above the grid which the user can click to
sort the column it is above, and no fixed rows, so it looks similar to the
Windows Explorer sort options.