Using groups as custom dialogs: a solution for Mac, PC and iOS

Chipp Walters chipp at chipp.com
Sat Jul 9 02:11:19 EDT 2011


I updated the sheet stack to make it more usable and posted it at a
different URL.

Now, it's streamlined and does some rather nice things. First off, it does a
nice sheet "scroll down" animation, plus it adds a transparent bg button
which won't allow for clicks outside the sheet (and of course deletes it
upon finishing). I've also added routines to automatically horiz-center the
sheet in the window. And, the stack script is modular so you only have to
copy and paste it into your own sheet stack library-- and change the
function name. It will automatically call an 'initMe' handler and pass to it
all params you originally called in the stack function.

This does not modify your original stack and can be called as a substack or
another stack.

You can open the altChooseThink dialog stack and there you will see a simple
workbench for testing the init and reset handlers. It's all very
straightforward.

You can access the new/improved by putting in your message box the following
and pressing return:

go URL "http://www.gadgetplugins.com/altplugins/altGrpDialog.livecode<http://www.gadgetplugins.com/altplugins/testGrpDialog.livecode>
"

Check



More information about the use-livecode mailing list