On Jun 18, 2007, at 10:24 AM, johnf wrote:

> Is there an example of mixing hand coded forms with cdxml type  
> forms.  I
> currently have many hand coded forms and would to like be able to  
> call cdxml
> forms from my menu.  But I guess I don't understand how to setup  
> the call
> from the menu.

        Here's how you call a form written in code (assuming it is in a file  
called 'MyFormClasses.py'

import MyFormClasses
frm = MyFormClasses.MyForm(<params>)

        Here's how you call a form written in .cdxml:

frm = dabo.ui.createForm("MyForm.cdxml", <params>)

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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]

Reply via email to