Uwe Grauer schrieb: > Sibylle Koczian wrote: >> Hello, >> >> I tried to put the parts of a new Dabo application into the >> subdirectories made by quickStart(), but to code the main form by hand >> and not with the class designer. So I have in the ui subdirectory no >> .cdxml file but a python script, and in the main project directory the >> file main.py. But I don't know how to tell the application the name of >> the main form class - everything I put into >> >> app.MainFormClass = ... >> >> only leads to different error messages. I have put the import statement >> "from MyUiScript import MyMainForm" into ui/__init__.py, but that didn't >> help. What's the right assignment to app.MainFormClass? > > In your ui/__init__.py you should have: > from MyUiScript import MyMainForm > > In you main.py you have: > from ui import * > > app.MainFormClass = MyMainForm >
Thank you, that was it. Got to read more about Python packages. Regards Sibylle -- Sibylle Koczian _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/49b7e882.1010...@t-online.de