Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the Designer on Inherited Form

Status
Not open for further replies.

PGO01

Programmer
Jan 8, 2008
156
GB
I have BaseForm with 2 buttons on it, both have their Modifiers property set to protected.

I have ConnectionForm which inherits from BaseForm.

From the designer window on the ConnectionForm, I can't change any of the inherited button's properties.

Is this right? I thought 'protected' means I can change through inheritance.

Thanks,
 
maybe not through the designer, but you can access them through code.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Yeah you're right - but the designer works for some other inherited controls.

Actually - it appears to be an issue with the container of the buttons; a FlowPanel (Modifiers = protected). If I move one of the buttons out of the FlowPanel the properties are no longer read-only in the designer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top