Article View: borland.public.cppbuilder.nativeapi
Article #1676Re: Best way to clear a stringgrid?
From: PaoloItaly
Date: Thu, 28 Jun 2007 14:06
Date: Thu, 28 Jun 2007 14:06
14 lines
1495 bytes
1495 bytes
sgGrid->ColCount=0;
sgGrid->RowCount=0;
"Dan" <Dan@do.not.spam> ha scritto nel messaggio
news:4683bbbe$1@newsgroups.borland.com...
> Hi, I want to clear a string grid, and I'd like to do it quickly.
>
> What is the best way to do that?
>
> The problem that I am having is that for REALLY LARGE grids, clearing the
> grid takes a long time. I'd like to see quick performance like I see when
> I close the app. Would it be best to delete the grid and recreate it
> instead?
>
Technical Details
Message-ID:
<4683c002$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4683bbbe$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dbe415a5e9add767 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <4683bbbe$1@newsgroups.borland.com> Subject: Re: Best way to clear a stringgrid? Date: Thu, 28 Jun 2007 16:06:03 +0200 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 88.46.71.125 Message-ID: <4683c002$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1183039490 88.46.71.125 (28 Jun 2007 07:04:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1332