[DUG] Stringgrids

Todd Martin toddm at kol.co.nz
Fri Feb 2 09:45:07 NZDT 2007


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 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20070202/ce5707f4/attachment.html


More information about the Delphi mailing list