Olrik Lenstra wrote: > It works! :) > My program is now as good as done, only one thing that bothers me a bit. > When I click the scan button the GUI Freezes because it is handling the > onScan function. > Is there any way to prevent this? > > Regards, > Olrik You might try adding wx.SafeYield(self, True) inside of the onScan method. HTH, Bill