Form Sizing

S

Samantha

I have a form named Invoices which has a button that opens
another form called Payments. When the button is clicked
and Payments opens, the size of the Invoices form changes.
How can I keep the Invoices form maximized while the
Payments form is open? I have the Invoices form set to
maximize on active and tried to also set it on deactive
but that didn't work.

Thanks for your help!
Samantha
 
M

Marshall Barton

Samantha said:
I have a form named Invoices which has a button that opens
another form called Payments. When the button is clicked
and Payments opens, the size of the Invoices form changes.
How can I keep the Invoices form maximized while the
Payments form is open? I have the Invoices form set to
maximize on active and tried to also set it on deactive
but that didn't work.


A couple of ways of approaching this. The way you're
currently doing it, except using the invoice form's Close
event instead of the Deactivate event.

The other way is to remove the Min/Max buttons from the
Payments form. If the form can not be restored, it can't be
maximized either.
 

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