FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour "Modal" MDI Child Window?
Posts: 142
Joined: Tue Jan 24, 2006 09:45 AM

"Modal" MDI Child Window?

Posted: Tue Jan 24, 2006 09:51 AM

Is there any way of opening and displaying an MDI Child Window that a user cannot minimize, maximize, resize, move etc. etc. (almost like a Modal Dialog Box).

Also the user must not be able to click out of this window i.e. the user has to close the window described above before continuing.

Dale.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

"Modal" MDI Child Window?

Posted: Tue Jan 24, 2006 09:56 AM

Dale,

You may disable the main window and other child windows, so the user will not be able to click on them:

oWndMain:Disable()
oWndChild1:Disable()
...

So just your selected mdichild window will be available. Once you are done, then enable them again doing:

oWndMain:Enable()
oWndChild1:Enable()
...

If you want that the user don't resize it, maximize it, etc. then better use a modal dialog box.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion