As Sheet Dialog

Nonsanity rev at
Mon Jan 3 12:04:01 EST 2011

Modal as in not being able to interact with any of the other controls on the
stack? Making a stack-sized invisible button (or lightly tinted and
transparent, even) just behind your psudo-dialog would prevent that. For
menus and other stacks, you'd have to add additional code - swap the full
menus for a smaller set with just what's allowed when the modal is up, hide
other stack windows...

Or just make a stack for the dialog with a custom frame and appearance and
use it as a normal modal dialog.

Back in the Hypercard days, I used a locked, transparent text field with
show lines turned on and a linesize of 2. This created a grid of dots over
the background that couldn't be clicked through. Ah, the fun of 1-bit

 ~ Chris Innanen
 ~ Nonsanity

On Mon, Jan 3, 2011 at 11:47 AM, Joe Lewis Wilkins <pepetoo at> wrote:

> Please, anyone...
> In my current app I'm attempting to mitigate the very small text dialogs
> that appear in the Windows' version of applications by rolling my own. Some
> Dialogs such as the page setup present some major challenges to doing this,
> but with others it's not really much of a problem; however, I would like the
> ones that I do create make their appearance as sheets. Can that be done?
> Also... I'm not using stacks for these Dialogs. I'm just creating Text
> fields with overlying buttons. The problem with this is that I need to
> implement a method by which these "Dialogs" can be modal in behavior. I am
> doing that by including a mouseUp handler in the stack script that requires
> certain activity when a given item is visible. Anyone have a better method
> of doing this? Is there something already built in that does this?
> TIA,
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> <>
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list