set stack rect in startup handler
Robert Brenstein
rjb at robelko.com
Wed Mar 26 12:55:49 EDT 2014
On 24.03.2014 at 18:13 Uhr +0000 Martin Baxter apparently wrote:
>Turns out that, when startup is run in the IDE, setting the stack rect
>works as I would expect, the size and position are modified correctly.
>But in a standalone, the stack size is set but not its position. So the
>startup handler obviously runs, but setting the stack rect doesn't have
>the side-effect of setting the loc.
>
>The same line in a preopenstack handler does work correctly however, so
>it is specifically in a standalone's startup handler that this issue
>appears to manifest.
>
>Anyway I have now bug-reported it.
>
>Martin
Curious that this worked in an earlier version. Isn't startup run
before anything else? If so, it is quite likely that stack windows
are not there yet when it runs.
RObert
More information about the use-livecode
mailing list