Inherited Forms

  • Thread starter Thread starter Marco Roberto
  • Start date Start date
M

Marco Roberto

Hi,

I have the following problem:
My application has a base form and all forms inherits this one.
The base form has a datagrid and a groupbox. When I put any
control in the form that inherits the base form the group box and
the datagrid loses the position on the screen. Is there any property
that I need to set?

Tks,

Marco
 
Marco I am totally taking a shot in the dark here but as
nobody else has replied I'll throw it out there. Try
setting the Modifiers property of the groupbox and
datagrid to "Private".
 
Hi Marco

I have the same problem. It occurs when the groupbox in the base form has
anchor=bottom-top-left-right (all of them). I also have some buttons
anchored bottom-right.

After building the solution the inherited form changes. The buttons
sometimes disappear (their horizontal coordinates become negative) or just
move to a different place. The groupbox sometimes grows out of the form.

This seems to be a problem with inheritance in visual studio designer.


--Stefan
 
Back
Top