Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Properties on Controls in Inherited Forms
Message
From
27/10/2003 16:08:53
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00842236
Message ID:
00843256
Views:
25
Morgan,

Thanks so much for all of your help but I’m just not getting it.

I have heard twice that when an object, textbox, button etc is dragged from the toobar to a window’s form that by default the control is private to the form. Therein lies my problem. If I create a new form inheriting from this form with it’s controls then because the controls where private when dragged onto the first form their properties can not be changed in the new form.

Where and how, in the base class form code, do I override this .Net default behavior and make a control on the form public so it’s properties can be changed in the inheriting form? The only place I see any generated code is in the “Windows Form Designer Generated Code” and I don’t see any code instantiating the controls.


Terry Carroll
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform