Re: flicker problem
Hi Jerry,
Faking it:
Set the listview so it is not visible whilst loading and when finished make
it visible again.
setVisible(1stCity, False)
eraseItems(lstCity)
<begin loop>
addItem(lstCity,data)
<end loop>
setVisible(1stCity, True)
Regards
Tony Steward
Come Visit Me At www.locksdownunder.com
----- Original Message -----
From: <jstory at freenet.edmonton.ab.ca>
To: "EUforum" <EUforum at topica.com>
Sent: Saturday, June 30, 2001 2:49 PM
Subject: flicker problem
>
>
> I gotta question.
> How do you get rid of flicker on list boxes when they are changing
> several times per second?
>
> This, run several times per second, causes flicker:
>
> [example 1]
>
> eraseItems(lstCity)
> <begin loop>
> addItem(lstCity,data)
> <end loop>
>
> What I would like to do is something like:
>
> [example 2]
>
> eraseItems_without_redrawing(lstCity)
> <begin loop>
> addItem_without_redrawing(lstCity,data)
> <end loop>
> redraw(lstCity)
>
> This would produce no flicker except the items that are changed, if any.
>
> Is there any way in win32lib.ew to do this, or to fake it?
>
>
> Jerry Story
>
>
>
>
>
>
|
Not Categorized, Please Help
|
|