--- bobby <[EMAIL PROTECTED]> escribió:

> I need a class that will be compatible with StringGrid in the
> meaning of 
> content (Rows, Columns, Cells properties).
> The problem is that I don't know how to write a class, and I would
> ask 
> if someone can point me to some good reading.
> 
> Why?
> I have a program that I would like to optimize a bit. The problem
> is 
> that the program writes a lot of data to StringGrid cells in a
> loop.
> The idea is to have a non-visual grid (I hope it will be faster
> than 
> StrinGrid), and to copy its content to StringGrid after finishing
> the loop.
> 
> Regards
> Boban Spasic
> 

Don't know if in your case it helps but you can do:
grid.BeginUpdate;
[fill the grid}
grid.EndUpdate;

also if you are constantly adding rows, one by one,
grid.rowcount:=grid.rowcount+1
add better some amount grid.rowcount:=grid.rowcount+20 or so.

Jesus Reyes A.


        
        
                
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to