Re: Disable TListBox Redraw...
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 09:57:20 +0200
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:42e88120.1260414@xxxxxxxxxxxxxxxxxxxxxxx
[...]
> ListBox1.Perform( WM_SETREDRAW, Integer(False), 0 );
[...]
> ListBox1.Perform( WM_SETREDRAW, Integer(True), 0 );
[...]
> I'm not too happy about the typecasting of True and False
Would using Ord or casting to LongBool make you feel better?
> On 27 Jul 2005 13:18:17 -0700, alanglloyd@xxxxxxx wrote:
>> TStrings.BeginUpdate / TStrings.EndUpdate surrounding your code.
This is the better solution anyway. It's 'in Delphi' and should work
when compiled on any platform.
Groetjes,
Maarten Wiltink
.
- Follow-Ups:
- Re: Disable TListBox Redraw...
- From: alanglloyd
- Re: Disable TListBox Redraw...
- From: J French
- Re: Disable TListBox Redraw...
- References:
- Disable TListBox Redraw...
- From: didi
- Re: Disable TListBox Redraw...
- From: alanglloyd
- Re: Disable TListBox Redraw...
- From: J French
- Disable TListBox Redraw...
- Prev by Date: Re: Disable TListBox Redraw...
- Next by Date: Re: Disable TListBox Redraw...
- Previous by thread: Re: Disable TListBox Redraw...
- Next by thread: Re: Disable TListBox Redraw...
- Index(es):
Relevant Pages
|