> replace blokc of generated code wiht call to app.startupForms() Hey Carl, I understand what you are trying to do (get rid of generated blocks of code), but because datanav/AppWizard is a specialized use of Dabo, your changes would be better not in dabo.dApp but in a new datanav.App class. Having a function in base Dabo that expects to find classes starting with "Frm" in a ui/ directory isn't right, since it was AppWizard that created that structure, not Dabo itself.
Can you either create a new datanav.App class that subclasses dabo.dApp (and have the generated App.py subclass that), or put the code into the generated output for App.py? Please remember that that generated code is intended to show people one way to do things. Burying that one way inside Dabo itself doesn't help people learn, does enforce a single way to do things, and doesn't encourage them to modify it to suit their needs. > added code to create go.sh, a shell script that runs the main py script. This shouldn't be needed (just run the main script). Perhaps a chmod 755 needs to happen on the generated file though. Also, it won't work on Windows, and probably not Mac because pythonw is needed on that platform. Also, you forgot to include the spec file for the go.sh file. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
