Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding controls to pages dynamically
Message
From
17/04/1997 16:58:59
 
 
To
17/04/1997 16:54:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00028819
Message ID:
00028822
Views:
35
>I have a form that has a pageframe on it that contains 3 pages. On page1, I allow a user to select an item in a list box. Based on this selection I would like to dynamically add controls to page3. My question is "How do you add specific controls to a certain page based on a user's selection out of a list box.?"
>
>Any and all help is appreciated.
>
>Please feel free to e-mail me at: lloridon@gte.net

Use Page.AddObject method. I would recommend you to have Container class with set of controls and add from this class.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform