Re: Disable TListBox Redraw...
"didi" <didi@xxxxxxxxxxxxxxx> wrote in message
news:7fRFe.586$cE1.139659@xxxxxxxxxxxxxxxx
> I have a lot of operation on TListbox Items and
> I want to disable its redraw (repaint) before to proccess operations
> and enabling repaint and repaint it only after the peoccess finished...
It is, but you might try something like
aListBox.Items.BeginUpdate;
try
// your processing
finally
aListBox.Items.EndUpdate;
end;
first. Its more generic.
.
Relevant Pages
- Disable TListBox Redraw...
... I want to disable its redraw before to proccess operations ... and enabling repaint and repaint it only after the peoccess finished... ... (alt.comp.lang.borland-delphi) - Re: Need Help Fixing GDI Leaks
... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ... (microsoft.public.vc.mfc) - Re: Need Help Fixing GDI Leaks
... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ... (microsoft.public.dotnet.languages.vc) - Re: Need Help Fixing GDI Leaks
... > presents data from one of the machines. ... > instigating a need to redraw the view every second. ... You are still breaking Rule 1 of Windows painting. ... your view would not properly repaint when uncovered. ... (microsoft.public.vc.mfc.docview) - Re: how to solve this OnPaint problem ? ( about remote screen transmit )
... > i want to abtain remote screen capture on the pc in LAN. ... > i was suggested to transmit the changed parts only to save the bandwidth. ... > repaint result,the image disappeared or changed into a wrong display. ... > How can i redraw the previous unchanged image already on the FORM? ... (microsoft.public.dotnet.languages.csharp) |
|