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





_______________________________________________
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/be09d2c9-64f9-4d22-ad82-36b7f7d84...@leafe.com

Reply via email to