Dabo group:
We've figured out a few things with forms, dialogs, bizobjs, data controls,
etc., and now we're trying to put together the outlines a complete
application. One thing missing is how to construct our own sort of menu, and
Paul
has pointed us to the AppWizard application MenFileOpen.py as a key to
understanding this. We see that this class appends items to the standard menu
that point to wizard-generated forms.
In the app we created with the appWizard, we have two forms, one for a
"runs" table and another for a "tubes" table. In the MenFileOpen.py for this
app, we see:
forms = (("Runs", app.ui.FrmRuns),
("Tubes", app.ui.FrmTubes),
("-", None),
)
Following this, we see code that appends menu items for these forms into
the file/open menu.
Question: how do the forms, (which exist in the ui directory as FrmRuns.py
and FrmTubes.py), get into the app.ui? I've tried to trace through the
program to see where these forms might be picked up and made part of the
"app.ui", but so far I'm stumped.
And furthermore, how would we substitute our own forms created in the CD,
since these are not python code but rather cdxml? Can we use the
dabo.ui.createForm function somehow?
And as a more general question, what's the best route for us to pursue
knitting things together -- we're definitely looking for "MDI" style
application, with a main form with some kind of splash screen, and forms that
are
called from the menu. More or less in the fashion of the app wizard. So the
app wizard might be one model. I also see that quickstart creates a simple
structure for an application. Should we build on that, rather than the
appwizard?
Thanks, as always, for your help.
Jonathan Poor
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]