Inherited forms, Visual Studio 2005 final

G

Guest

I have a template form and a lot of forms that inherit that form. When i try
to edit the controls on the template form in an inherited form I cant. Every
property is disabled and readonly, and I cant edit anything - add a button on
a toolstrip or change size of a datagridview.
is there a fix to this, every control is set to public, and i really need
inherited forms funcionality. pls help!

if it's important, the template form consists of several buttons on top, one
tab control with two tabs: one has only datagridview, the other is empty
(gets controls on inherited forms).
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Nedim,

When you inherit form you should be able to add new controls, but you cannot
move, delete or edit in any way the controls from the base form.
Usually bas form should provide the surrounding controls and lieve an empty
space for the main content. Then derived forms can add the content controls
without touching what comes from the base form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top