Board index » cppbuilder » Avoid repainting a control

Avoid repainting a control

Hi!

        How can I make a listbox stop repainting itself while I add items?

TIA

 

Re:Avoid repainting a control


Try listbox.items.beginupdate and listbox.items.endupdate.

Jeroen

Quote
"Fernando Rodrguez" <spam...@must.die> wrote in message

news:3j864tc1ht3hjh4ojk3ilth71qh5dbdgat@4ax.com...
Quote
> Hi!

> How can I make a listbox stop repainting itself while I add items?

> TIA

Other Threads