>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.
thisform.windowstate=1 && wihtout checking it in help, so check WindowState.
If it's not broken, fix it until it is.
My Blog