Maximize / Restore

P

PaleRider

Hi,

I have a label on a form that when clicked will maximize the form. Is there
a way to set the button so that a second click will restore the form to it's
previous size?

Right now I have this code:

Private Sub lblMaximize_Click()
' Maximize the form
DoCmd.Maximize
End Sub


PR
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top