"Modal" MDI Child Window?

"Modal" MDI Child Window?

Postby dpaterso » Tue Jan 24, 2006 9: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.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Postby Antonio Linares » Tue Jan 24, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests