Full Screen bug with Inherited Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a form i'm inheriting. I've found a workaround, and it works fine.
(Although, are MS going to fix this in VS 2005?).
My only problem is, slightly odd. If i inherit a form, then it is maximised
and set up properly. However, If I change the size of my inherited form, so i
know where my editing boundaries are, then i'm left with a gap of about 10
pixels around the right and bottom edge when maximised.

This appears to be caused by the code line declaring the size. If i reset it
to default, it still creates a code line of new size(300,300). The only size
it doesn't do anything for is 640,480.

It's making it difficult to design my form, as I've stuck a panel of the
right size onto it, but it then hides all the inherited members.

Is there a solution to this issue?

Cheers

Tris
 
I was playing around and, if you store the base size before component
initialisation in the inherited form, then set it back again afterwards, it
works fine.

:)
 
Back
Top