[q] Modal dialogs (not working ?)
Lic. Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Tue Sep 9 09:26:10 UTC 2003
On 08/09/03 19:17, "Bert Freudenberg" <bert at isg.cs.uni-magdeburg.de> wrote:
> A "modal" dialog forces the user to complete the dialog before
> continuing. Basically, while the dialog is shown, you can only interact
> with the dialog and nothing else, like bringing up the world menu etc.
> This is not prevented by the doOneCycle approach because the whole world
> cycle is performed.
>
> --
> Bert
Sure clicks outside Dialog frame are processed too in Squeak.
You are right and perhaps the only solution to this is Bob advice .
3. Block everything. When you want a dialog to be truly modal, open a
world-sized transparent morph beneath it and arrange for the transparent
morph to consume all mouse clicks and key presses outside the dialog.
I said Deutschland 1 Argentina 0 on this !!
Very thanks !
Cheers
Edgar
More information about the Squeak-dev
mailing list
|