Dave Nation wrote:
>
> 1. Trying to convert appRecipes myFileOpenMenu.py, I can't figure out
> how to modify the openForm method to call my cdxml files, and for them
> to be children of the main form.
>
frmclass = "nameofcdxmlfile.cdxml"
frm = dabo.ui.createForm(frmclass)
if frm:
frm.show() # or frm.showModal()
> 2. I wanted to put the biz classes in separate files in a sub-folder
> biz, and the ui (cdxml etc) files in a sub-folder ui, but I couldn't get
> the import statments to work correctly. At present I import the bizobj
> code, in the CreateBizobjs method of the forms, as this is the only
> place I can get the imports to work.
>
Look at the Button "Manage Imports" of the method edit window in CD.
Enter "from biz import *" there.
Of cause your biz dir should have a __init__.py file.
> 3. I want to have some 'global' system information readily available in
> biz and ui code, i.e. user-name, user-type etc, but am not sure what the
> best way to achieve this is.
>
You could put it into your app object.
> Any advice on how to reply to responses in the same message thread, as
> my previous attempt was posted as a new thread
>
You are using thunderbird.
So just hit the reply button.
Uwe
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]