Link to home
Start Free TrialLog in
Avatar of o_Rage_o
o_Rage_o

asked on

Minimize Application rather than child form on Minimize Button

Hi there

I am calling a form using a "frmXXX.show vbModal, me"
from the calling form. I require this form to be modal so that changes made can be reflected in the calling form when the user exits.

My problem:

  When the user clicks the minimize button, the top form minimizes and the inactive form behind it stays up and un-moveable.

How can i fix this problem? I was thinking add in code to the minimize button to minimize the *entire* application..but how do i do this?

Thanks in advance, and sorry for the small amount of points, I mistakenly gave away 300 on my last question (um..doh.)


ASKER CERTIFIED SOLUTION
Avatar of bob_online
bob_online

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vinnyd79
vinnyd79

If option b is used,can the form be maximized?
Avatar of o_Rage_o

ASKER

Nice i like the B option and thanks for the quick reply!!!

the only thing is now, is when i restore the application by clicking on the taskbar, it brings up the "other" form still disabled and shows my top form as minimized in the corner.

is there anyways of ensuring that the modal form resizes properly on restore (back on top)
 

TIA

anyone?

I'm trying to use  otherform.windowstate = me.windowstate

this only solves half my problem (minimizing) but when i restore from taskbar the modal form does not restore


Thanks!
increased points to 50..

any help?

urgent
o_Rage_o:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
Avatar of DanRollins
Moderator, my recommended disposition is:

    Accept bob_online's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer