P
Peter Oliphant
I've tried to set up a Form location via its constructor in the following
way (My_Form is derived as a child of the standard Form):
My_Form( int x, int y, int w, int h )
{
Rectangle rect( x, y, w, h ) ;
this->Bounds = rect ;
} ;
When I do this the width and height are properly set, but it doesn't place
in proper (x,y) location. I've also tried setting up Width, Height, Top, and
Left independently, and again, width and height work but not the location.
Why? And what SHOULD I do to setup (x,y) prior to ShowDialog()?
way (My_Form is derived as a child of the standard Form):
My_Form( int x, int y, int w, int h )
{
Rectangle rect( x, y, w, h ) ;
this->Bounds = rect ;
} ;
When I do this the width and height are properly set, but it doesn't place
in proper (x,y) location. I've also tried setting up Width, Height, Top, and
Left independently, and again, width and height work but not the location.
Why? And what SHOULD I do to setup (x,y) prior to ShowDialog()?