generating forms at run time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possible to create and form at runtime, or at least a form's controls?

I'm looking to have forms display a changing data set, and hence am trying to avoid hardcoding the forms. Would prefer to create them at runtime from a data source of controls and ther properties.

These forms will be used as embedded subforms

thanks in advance
 
KC Chuck said:
is it possible to create and form at runtime, or at least a form's controls?

I'm looking to have forms display a changing data set, and hence am trying to avoid hardcoding the forms. Would prefer to create them at runtime from a data source of controls and ther properties.

These forms will be used as embedded subforms

Yes, it's possible (sometimes), but it is ***extremely***
inadvisable.

A more robust (and easier) approach is to precreate a pool
of invisible controls on a form and make them visible as
needed.

What does "changing data set" mean?
 
Back
Top