How can one have a form's controls automagically resize when the user maximizes the form?
I think you could set this manually in the code, but my method didn't work.
Any ideas?
Printable View
How can one have a form's controls automagically resize when the user maximizes the form?
I think you could set this manually in the code, but my method didn't work.
Any ideas?
Place your code that resize the controls in the form_resize event with an if statement checking for the windowstate.
Quote:
Megatron,
Thanks for that tip by Karl Moore.
The problem is that code resizes everything in the form, including the command buttons. I want the command buttons to stay in the same size.
Any idea or suggestion?
sincerely,
Rathi.J