How to dismiss a modal dialog (was: Re: Ask & Answer)

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sun May 27 10:19:35 EDT 2007


Hi Björnke,

You can always use the IDE contextual menu (ctrl+ shift click on Win  
and Command+ctrl+ shift click on Mac) and toplevel the window by  
changing its style in this menu.
So you are never stuck :-)

Best regards from Paris,
Eric Chatonet.

Le 27 mai 07 à 14:39, Björnke von Gierke a écrit :

> You want "modal" not "modeless". But before you do that, make sure  
> that there is a button on your "test" stack that closes it,  
> otherwise you're stuck.
>
> On 27 May 2007, at 13:44, LunchnMeets at aol.com wrote:
>
>> Hi everyone,
>>
>> I put the following script in the button of another stack.
>>
>> on mouseUp
>>  show stack "Test"
>>  modeless stack "Test"
>>  toplevel stack "Test"
>>  beep
>> end mouseUp
>>
>> I thought the beep shouldn’t sound in this case, but it does. I’m  
>> trying to
>> make my own custom ask and answer dialog boxes in a separate  
>> stack. I want the
>> beep to sound after I’m finished with stack “Test”. Obviously, I’m  
>> going
>> about this wrong.
>>
>> I never leave the IDE and I’m on Mac OSX.
>>
>> Joe

----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list