[Tutor] Problems with Gauge Bar.

Alan Gauld alan.gauld at btinternet.com
Sat Aug 23 01:41:19 CEST 2008


"Olrik Lenstra" <o.lenstra at gmail.com> wrote

> When I click the scan button the GUI Freezes because it is handling 
> the
> onScan function.
> Is there any way to prevent this?

This is back to where we started in that you need to break
the onScan function down such that you only process a portion
of the data before resetting the timer. Everytime you restart the
timer control will revert to the GUI untill the timer next fires.

If you are unsure how to do that you will need to show us some
code.


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 




More information about the Tutor mailing list