[q] Modal dialogs (not working ?)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Mon Sep 8 10:18:49 UTC 2003


Lic. Edgar J. De Cleene wrote:

> On 07/09/03 10:57, "Bob Arning" <arning at charm.net> wrote:
>
>>On 07 Sep 2003 11:02:02 +0200 Martin Drautzburg <martin.drautzburg at web.de>
>>wrote:
>>>>>Okay I understand that the world menu works. But how can I block an
>>>"application" until the modal dialog has exited ? I mean like
>>>evenything that is in a SystemWindow.
 >>
>>1. Don't
> 
> Martin:
> And besides Bob excelent advice  you still want have a SystemWindow with
> fields, buttons, etc you could do:
> 
> Your code hier
> 
> [done]
>                 whileFalse: [World doOneCycle].

But this will not make your dialog modal (try it!). Which is a Good 
Thing, as others have pointed out.

Hey Martin: Why is it you want to repeat all the silly mistakes bad UI 
designers force upon the world?

-- 
    Bert



More information about the Squeak-dev mailing list