On Oct 7, 2005, at 12:41 PM, Carl Karsten wrote:

Using http://dabo.leafe.com/wiki/DemoScreenshots "Criteria selection page (Win32):" as an example, can someone explain how the controls are stored in A) the source of that form, B) at runtime when that form is live.

The form is data-driven. The controls are instantiated at runtime based upon the data in FieldSpecs.fsxml. IOW, the AppWizard doesn't spit out a form with code for each control; it spits out an XML file that is read at runtime, and whose contents are used to create the controls. Take a look at dabo.lib.datanav.Page - it has several 'createItems()' methods where the actual control creation occurs.


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




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to