Re: Win32Libv50: modal window bug?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Known bug. This was pointed out first by Davi Figueiredo, and I've applied
the fix. Seeing that there are many fixes going into the next release, it
will be known as v0.53.

----- Original Message -----
From: "Dan B Moyer" <DANMOYER at PRODIGY.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, September 17, 2000 2:46 PM
Subject: Win32Libv50: modal window bug?


> Is this a bug?
>
> You can exit a main window which has an associated modal window, if you
just
> minimize the modal window, instead of first closing the modal, & I don't
> think you're supposed to be able to do that.
>
> If you set up a modal window like this:
>
> constant bModalWindow   = create( Window, "This is a Modal Window",
> TheWindow, 50, 80, 400, 200, 0 )
>
> and open it:
>
> global procedure onClick_bModalButton()
>   openWindow( bModalWindow, Modal ) -- THIS IS WHAT MAKES IT A MODAL
WINDOW
> end procedure
>
> and then click on the minimize sysmenu button in the modal window, you can
> then click on the main window's close button & it will close the main
> window, even though the modal window hasn't been closed first.
>
> I know you could create the window you intend to make modal *without* a
> minimize button, but shouldn't opening a window as modal automatically
> remove any option that would allow closing the main before closing the
modal
> one?
>
> Dan Moyer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu