Minimize application

Hello everyone
xojo

Thankful for your comments for the following:

I have a Desktop application with a Window named Winprincipal with Minimize Button in ON and that contains the main menu and from the main menu I can execute other windows like Names, Places with the following code: Names.ShowModal, places.ShowModal etc.

I need to be able to minimize the whole application, when a modal type window is showing up, is it possible?

All your comments are very appreciated

Cordially,

Raul Juarez Pulache