StartUp handler on Windows

Klaus Major klausimausi at mac.com
Wed Jan 22 06:03:01 EST 2003


Hi Thomas,

> Hello List
>
> Something strange happens with a Project of mine, so I guess there's 
> some stupid code in my script.
>
> I have a stack with two substacks both in palette style. In the 
> startup script ("on startUp") one of the substacks should
> be opened ("if stackname is not among the lines of the openStacks"). 
> On my Mac with OS X the stack works OK but the
> distribution for Windows (a standalone) won't show the substack that 
> should be opened on startUp.

Have you tried "on preopenstack" instead of "on startup", which should 
be used
when using faceless apps started by the commandline or as cgis.

Just a thought...

> The other substack is opened by clicking a button. This one shows up, 
> but not in palette style. In the script
> of this button I use the palette command, and on OS X it works fine 
> even as standalone but not on Windows 2000.

You could try to set the style in the "preopenstack"-handler of that 
palette...

> Does anybody have a clue?
> (Mac OS X 10.1.5, Runrev 1.1.1, Windows 2000 Professional)

Hope this helps.

> Thanks
> Thomas

Regards

Klaus Major
klausimausi at mac.com




More information about the use-livecode mailing list