Re: loop in body of main program

Neil Hughes <[email protected]> Wed, 26 Mar 2008 22:21:14 +0000
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
On 26/03/2008 17:31, Phil Edwards wrote:
> Phil Edwards wrote:
>> Okay, probably not the nicest bit of code I've ever written, but it 
>> seems to do the trick:
>>
> 
> Extra brownie points for the first person to spot the bug in the code... :-)
> 
> 

Well, my brain's fried after a day of wxPython frames, panels, grids and 
  missing scrollbars. So I had to 'cheat' and run your code because I 
couldn't see anything.

Works OK, apart from the mysterious:

self.countValue = self.components.Gauge1.max + 1

which produces a Spinal Tap moment when you hit the stop button...was 
that intentional ;-)

-- 
Neil Hughes

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace