Saar
August 26th, 2001, 03:32 AM
Hi,
I have a form that should display one column from a DB, the number of element that should be displayed can be somewhere between 100 to 3000, the problem is that when I try to display large amount of data (more that 250 items) in ListBox\ListView\TreeControl it takes a lot of time and usally the control flicker.
The question is, how can I cause the control (listbox or tree) to delay the painting of the item till the moment it will be scrolled to.
Is there any other control that "knows" to insert the items "on demand" ?
Thank you for your help,
Saar
I have a form that should display one column from a DB, the number of element that should be displayed can be somewhere between 100 to 3000, the problem is that when I try to display large amount of data (more that 250 items) in ListBox\ListView\TreeControl it takes a lot of time and usally the control flicker.
The question is, how can I cause the control (listbox or tree) to delay the painting of the item till the moment it will be scrolled to.
Is there any other control that "knows" to insert the items "on demand" ?
Thank you for your help,
Saar