Hi,
The following no longer works with the current SVN:
import dabo
dabo.ui.loadUI("wx")
import dabo.dEvents as dEvents
class testpanel(dabo.ui.dPanel):
def _getcustomprop(self):
return getattr(self, "_customprop", None)
def _setcustomprop(self, val):
self._customprop = val
Customprop = property(_getcustomprop, _setcustomprop)
class xForm(dabo.ui.dForm):
def afterInit(self):
self.testpanel=testpanel(self, Customprop='test')
def main():
app = dabo.dApp()
app.MainFormClass = xForm
app.start()
pass
if __name__ == '__main__':
main()
I have to revert back to 3120 to get it to work.
--
John Fabiani
_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]