Hey guys...
I have had a question about form dimensions!
I have 2 simple command buttons :
-Their code is : form1.width(something!) and form1.height(something!) *the dimensions are not the same!
-They set the width and height of form according to the text box size.
I set the start up position property of form to the "center screen".
when I click on the first command button , the form is at the center position of screen accurately . But when i click on the second command button which make the form bigger , it just adjusts the width and height of form and the form is not re-adjusted at the center position.
How can i set the form position to the Center of screen permanently ?
**Please consider that Screen dimensions are unknown!
Thanks
I have had a question about form dimensions!
I have 2 simple command buttons :
-Their code is : form1.width(something!) and form1.height(something!) *the dimensions are not the same!
-They set the width and height of form according to the text box size.
I set the start up position property of form to the "center screen".
when I click on the first command button , the form is at the center position of screen accurately . But when i click on the second command button which make the form bigger , it just adjusts the width and height of form and the form is not re-adjusted at the center position.
How can i set the form position to the Center of screen permanently ?
**Please consider that Screen dimensions are unknown!
Thanks