>Hi,
>
>I have a modeless form(A) and inside this form I have a button and when the user clicked on this button a modal form(B) popup. After the form(B) closed, form(A) is minimized. How could I restore Form(A) after form(B) has been closed? Thanks
Minimized ? or dropped to the taskbar ?
If the latter is the case : Form(B).Visible = .F.
This will bring up the last active task, which is form(A).
BTW, if this is the case, your forms are not really modal only, but also implied a new Win-task at instantiating them. If so, this might not be what you wanted ...
HTH,
Peter