delphidelphi-2010flickertpaneltscrollbox

Object container based on TGraphicControl


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


Solution

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