On Dec 2, 2008, at 5:59 PM, johnf wrote:

> Sure!  But a follow up question.  How does one use a cdxml file as  
> class to be
> used in a hand coded form.  For example:


        It's not that hard:

from dabo.lib.DesignerXmlConverter import DesignerXmlConverter
conv = DesignerXmlConverter()
# Assuming that 'pth' is the path to the cdxml class
cls = conv.classFromXml(pth)
instance = cls(self, Foo="Bar", ...)


-- Ed Leafe





_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to