Form Sizing

  • Thread starter Thread starter Samantha
  • Start date Start date
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
 
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.
 
Back
Top