Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change WinForm Layout in a dynamic mode
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01006230
Message ID:
01006827
Views:
22
Stephen,

>How do I change my interface controls on the fly for different subsets for data?

Check out the MM .NET Dev Guide topic "How do I programmatically add controls at run time?" for code that demonsrates how to do this.

If you want to subsequently bind all the controls, you can call the form's BindAllControls()> methods. This causes all business objects on the form to raise a Bind event which in turn causes all controls to bind to the business object's data. If you want to bind individual controls, you can call the form's BindControl() method.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform