 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Varnas Guest
|
Posted: Mon Mar 27, 2006 4:03 pm Post subject: StringGrid features |
|
|
Hi, I'm using stringgrids in my application to view data (programming
with bcb6). Ammount of data sometimes is quite big and I'm interested
in two things:
1) Is there a way to select a desired row (i couldn't find enywhere how
to do that)
2) Is there a way to free memory that is allocated by stringgrid
(stringgrid on a form is placed at design time staticly)?
situation: I start my application it uses 5MB of ram, when i show the
contents of a file, lets say there are 20000 rows, my application uses
26MB of ram, and after that i show the contents of another file (in the
same stringgrid) with 500 rows and my application still uses 26MB of
ram. Thats not good for me.
Could someone help with this? |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 30, 2006 7:03 pm Post subject: Re: StringGrid features |
|
|
for(int i=0;i<stringgrid1->ColCount;i++)
{
stringgrid1->Cols[i]->Clear();
} |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|