Alex Tweedly wrote:
Therefore, in the real example,
BaseForm can't use beforeInit - the dForm isn't initialized yet.
It can't easily use __init__ as you explained above
and it can't (simply) use afterInit, because that never gets called (only the afterInit in DemoForm is called).

You can bind to the Create event (create an onCreate(self, evt) method.) Create is raised at the end of __init__, after all the afterInit() stuff has run.


--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to