Somebody
Somebody

Reputation: 733

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

Upvotes: 2

Views: 455

Answers (2)

Somebody
Somebody

Reputation: 733

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

Upvotes: 0

Eugene Zagainov
Eugene Zagainov

Reputation: 21

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

Upvotes: 1

Related Questions