Hi,

 I have been following a thread on the users list concerning creating a MDI 
app from CD.  

So what I did was create a "save a runnable app" project.  It created 
junk2.py, junk2-code.py, and junk2.cdxml.

junk2-code.py is empty

junk2.cdxml contains the xml data and no where does it say anything about 
where "DesForm" is derived.

junk2.py  contains:
import os
import inspect
import dabo

def main():
        app = dabo.dApp()
        curdir = os.getcwd()
        # Get the current location's path
        fname = inspect.getfile(main)
        pth = os.path.split(fname)[0]
        if pth:
                # Switch to that path
                os.chdir(pth)
        app.MainFormClass = "junk2.cdxml"
        app.start()

        # Return to the original location
        os.chdir(curdir)


if __name__ == '__main__':
        main()

What code mods would you direct a newbie to do in the above file to allow the 
file to be the parent of other MDI children. 

My point is simple - it's not all that easy to create an MDI app with the Dabo 
tools.

Johnf 

_______________________________________________
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/[email protected]

Reply via email to