Hello - I'm looking for some hints on the dynamic population of tabs with user controls please. I'm working on a generic VB6 active X tab control that is to be launched from a C++ property page and it is to work as a extension to the property pages for various different features.

When a button is pressed on a C++ property page, the VB tab control starts up. Will be two tabs. It will find out how many user controls are required on each tab and what kind of user control they are. Number of controls on each tab varies depending on what the property page is for.

Factors in development of generic active x tab control- 13 possible user controls, don't know combination at design time.User controls designed to get input for different types of parameters.

Tool reads in how many parameters it has to be display and I'm wondering how much intelligence can be built in with VB with regard to dynamic positioning of the user controls so that they fit on each tab. The size of the user parameter control varies.

Any hints would be much appreciated. Want to keep tool as generic as possible. Also - I'm an inexperienced programmer and am not sure where to build in the logic for dynamic control poistioning on the form at run time. (More info in database as regards number of pixels required for each control?)

I hope this makes some sense and any help would be wonderful.

Regards,
Mairi