At 4:43 AM -0700 8/7/2001, Douglas Wagner wrote:
>1 Given an application requiring, say, 20 or 30 windows, each
>of which is a different size, does it make any difference which
>window is defined as the "main stack"?
There are a couple of differences that may be significant for your application:
1) The main stack is the window that opens automatically when you open the
stack file (or, if you build an application, the window that opens when you
double-click the application). Generally, you'll make the main stack either
the application's main window, or a splash screen (since it opens first).
2) The main stack is in the message path of all its substacks. This means,
for example, that if the main stack's script contains an openStack handler,
opening any substack will trigger that handler (unless the substack traps
the openStack message in its own script). This can lead to unexpected
behavior if you're not aware of it.
>2 Is it possible to merge two "main" stacks?
As Geoff mentioned, you can move a main stack into another file. But each
file can have only one main stack; any other stacks moved into that file
will become substacks.
You can also combine stacks by copying cards from one to the other.
>3 Will Revolution eventually allow scripts to be written in AppleScript?
Version 1.1 is planned to have this ability (and other OSA languages as well).
--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!