On Tuesday 05 July 2005 04:11 pm, MooMaster wrote:
>  self.InUse =[BooleanVar(), BooleanVar(), BooleanVar(), BooleanVar(),
> BooleanVar(), BooleanVar(), BooleanVar()]
>
        for i in range(1,11):
            for t in range(7):
                if(t==0):
                    Checkbutton(self.frame2, variable = 
self.InUse[t]).grid(row= i, column = t)


should this last line read "self.InUse[i]" ?

What I mean to say is that t is always 0 when you assign variable.
-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to