Lazarus

Programming => LCL => Topic started by: jamie on July 09, 2020, 04:32:29 pm

Title: Safe to use tvirtualgrid?
Post by: jamie on July 09, 2020, 04:32:29 pm
I found Tvirtualgrid which seems to give me what I need as part a class construction design.

If there is any thoughts of removel in the near future please step up.
Title: Re: Safe to use tvirtualgrid?
Post by: wp on July 09, 2020, 04:41:09 pm
You mean the TVirtualGrid in the grids unit? Since it is the basis of all Lazarus grids I strongly doubt that it will be removed at any time.
Title: Re: Safe to use tvirtualgrid?
Post by: jamie on July 10, 2020, 12:43:55 am
Ok, I looked at Delphi and notice I couldn't find that in the listing of possible classes already defined and I don't like recreating the wheel when there is code already in the pile that can be implemented.

 The TVirtualGrid just happens to have the layout I need although the names of the fields are not exactly what I pictured but it will do..

 The other alternative was using a collection which to me looks like it could turn into a fragmented heap nightmare .

 Thanks.
TinyPortal © 2005-2018