On Apr 20, 2013, at 7:01 AM, Sibylle Koczian <[email protected]>
wrote:
> I suppose I got this from some example code, but I don't remember where. At
> all events: what's the class "self" refers to? dCheckList? dPanel? Something
> else? If I try to solve such questions from the .cdxml, what should I search
> for?
The first argument to super() is always the class of the instance
running that code. You can always get that by using `self.__class__`, which I
would suggest for use inside a .cdxml, where the class name is generated at
runtime.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
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/[email protected]