On Nov 26, 2010, at 8:23 PM, John Fabiani wrote:
> Invalid syntax
>
> That's because of
> ok = eval("kid.%s" % ff)
>
> eval(kid.__class__ = self.MyCheckBox)
Ok, ok... lemme look at the code...
Doh! I forgot about the 'instancesOf' parameter! You can simply do:
foo.setAll("SomeProp", someVal, instancesOf=(MyCheckBox,))
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]