Modal app

Klaus Major klaus at major-k.de
Wed Aug 25 12:46:15 EDT 2004


Hi Devin,

> I'm writing an OS X app which should only appear as a modal window. I 
> tried
>
> modal this stack
>
> in the openStack handler. It works in the IDE but not as a standalone. 
> Is there some trick I don't know about? Can a mainstack window be 
> modal?

Try:

on preopenstack
    set the style of this stack to modal
    ...
    ...
end preopenstack


Looks the same, but worked for me :-)


Hope that helps...

> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list