Hi Roger,
Do you mean that you want the Form to be Maximized? If so then try:
ThisForm.WindowState = 2
Hope this helps,
Gavin...
>Hello all:
>
>I have a form and would like a command button to emulate the MaxButton click.
>In the Click procedure of the command button, I put:
> ThisForm.MaxButton.Click()
>When the form is run, I get this error:
> "Unknown member MAXBUTTON"
>
>Is there a way to accomplish an emulation of the user clicking the
>MaxButton?
>
>Thank you.