Hiya,
I have successfully subclassed the dPanel class previously. Now I want to
add some parameters to my subclass, but when I run it I get an error msg
telling me that _cacheForm is not a property. How do I call the class with
my parameters.
Example:
class RALookupPanel(dabo.ui.dPanel):
def _getCodeObjRegID(self):
return getattr(self, "_CodeObjRegID", None)
def _setCodeObjRegID(self, val):
self._CodeObjRegID = val
CodeObjRegID = property(_getCodeObjRegID, _setCodeObjRegID)
I am trying to call it like this...
lp=RALookupPanel(self, CodeObjRegID = 'somevalue')
Looking at the dPanel class I see that it has the parameters (self, parent,
...., etc) but don’t know how to deal with the these.
Thanks,
Larry Long
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 05-Apr-2007
3:33 PM
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/dabo-users/!&!AAAAAAAAAAAYAAAAAAAAAGnwNn52Lj1DjDRaSGJwREHCgAAAEAAAALwr2ZQtR1hPg/[EMAIL
PROTECTED]