[Gambas-user] listbox refresh while filling

Benoit Minisini gambas at ...1...
Sat Feb 7 17:21:34 CET 2004


On Thursday 05 February 2004 17:37, Philip A. Chapman wrote:
> On Thu, 2004-02-05 at 09:35, Frank Rudolph wrote:
> > Because of long running i will refresh my listbox - parhaps every 500
> > lines of results.
> > If i perform a listbox1.refresh - noting happens.
>
> Try putting a WAIT statement after listbox1.refresh.  This will allow
> other threads to run;

There is no other threads. WAIT just allows the event loop to dispatch all 
current pending events except input events (mouse, keyboard, ...).

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list