El 11/09/13 13:56, Ed Leafe escribió:
On Sep 11, 2013, at 11:41 AM, Ricardo Aráoz <ricar...@gmail.com> wrote:

Was following the code examples in http://wiki.dabodev.com/HowToUseADGridSizer

Code :
-------------------------------------------------------
gSzr = dabo.ui.dGridSizer()
for pta in range(32):
    pta = dabo.ui.dImage(self,
Picture='../resources/Imagenes/system-log-out.png',
                  Size=(10, 20))
    gSzr.append(pta, row=1, col=pta)
    led = dabo.ui.dLed(self,
                       RegID='Puerta-{}'.format(pta),
                       OnColor='Green',
                       OffColor='Red',
                       On=False)
    gSzr.append(led, row=1, col=pta)
hSzr.append(gSzr)
Looks like you are specifying the 'col' parameter as the dImage ('pta'), and 
not an integer value.

-- Ed Leafe


Duhhh....
Thanks a lot Ed.

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/5230b5dd.2010...@gmail.com

Reply via email to