G
Guest
I am getting strange resizing problems when using an inherited form.
Controls are moving themselves seemingly randomly, but reproducibly.
"frmBase" is my base class (a windows form), and contains a few controls
anchored to the sides of the form.
"frmChild" inherits from "frmBase"... and the controls appear on the
inherited form as expected. However things start going wrong when I place
addition controls on the "frmChild" form. When I rebuild the project, the
original base controls move to new locations (often off the bounds of the
form). If I remove the new controls to the child class and then rebuild,
violia, the original base control's snap back to the correct locations!!
What in the heck is going on here? It seems that I can't use inherited
forms for this reason... but I really want too.
- Peter
PS. Version 7.1.3088
Controls are moving themselves seemingly randomly, but reproducibly.
"frmBase" is my base class (a windows form), and contains a few controls
anchored to the sides of the form.
"frmChild" inherits from "frmBase"... and the controls appear on the
inherited form as expected. However things start going wrong when I place
addition controls on the "frmChild" form. When I rebuild the project, the
original base controls move to new locations (often off the bounds of the
form). If I remove the new controls to the child class and then rebuild,
violia, the original base control's snap back to the correct locations!!
What in the heck is going on here? It seems that I can't use inherited
forms for this reason... but I really want too.
- Peter
PS. Version 7.1.3088