Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One area of form that changes
Message
From
23/04/1999 11:38:10
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00209421
Message ID:
00211540
Views:
23
Thanks, I didn't think about that one. I have gone the route already of making each "sub-form" a user control, simply because it helps to encapsulate the functionality and the data. But I'm currently placing each user control (I'm up to about 10) on the form and handling sizing them all in the resize event, and toggling which one is visible based on user input. These user controls all fire events to let the form know what the user has done/requested. They each fire different events. Can I handle events like this if I create them dynamically?

>>If you had an area of the form that had to change depending on what the user selected in another area (The area could show customer lookup fields, it could show inventory tracking fields, it could show a list of reports to pic, etc...), would you make each one a custom control, put them all in that area of the form and just make one visible as needed? Or is there a better technique for that?
>
>If not to big, I prefer to use frames and play with there visible properties.
>
>Using VB6, if you build custom controls, you don't need to hide them all on a form. You can add them dynamically to the form.
-----
Lee Perkins
TigerBase Technologies

"Lee is one that would plug his brain into the internet, if he could, and STILL scream for more" - Very good friend of Lee's
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform