Object container based on TGraphicControl

453 Views Asked by At

I'm using TScrollBox to make custom list contains many controls (Tlabels,Timages,Tshapes)

the problem is when i use TPanels as a container for each Item the list getting slow and flickery after adding about 100 items.

i'm looking for an alternative to TPanel based on TGraphicControl to improve the performance

2

There are 2 best solutions below

0
On BEST ANSWER

instead of using controls in panel container , i used TPaintBox for each row to draw using canvas as suggested

2
On

You can also turn Form.DoubleBuffered := True to prevent flickery