Re: set stack rect in startup handler

2014-03-26 Thread Martin Baxter
On 26/03/14 16:55, Robert Brenstein wrote: > On 24.03.2014 at 18:13 Uhr + 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

Re: set stack rect in startup handler

2014-03-26 Thread Robert Brenstein
On 24.03.2014 at 18:13 Uhr + 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 ob

Re: set stack rect in startup handler

2014-03-24 Thread Martin Baxter
Hi Phil, That's correct, although as Craig pointed out you can run the startup handler in the IDE from the message box, which I did on his suggestion as a test. 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 corre

Re: set stack rect in startup handler

2014-03-24 Thread Phil Davis
If I remember correctly, the startup message isn't available to our stacks in the IDE. Otherwise (in standalones) it should be. Phil Davis On 3/24/14, 7:21 AM, Martin Baxter wrote: This: on startup set the rect of this stack to "100,100,300,300" end startup Does not seem to work in versi

Re: set stack rect in startup handler

2014-03-24 Thread Martin Baxter
Hi Craig, In the IDE it works correctly when startup is invoked from msg, but once the stack is built into a standalone it doesn't. The standalone in question is just to test this issue, and has only a quit button. I build it with a size different from 200 by 200, so I can tell that the on startu

Re: set stack rect in startup handler

2014-03-24 Thread dunbarx
Martin. What happens if you run this line from msg after the window is open? Craig -Original Message- From: Martin Baxter To: How to use LiveCode Sent: Mon, Mar 24, 2014 10:22 am Subject: set stack rect in startup handler This: on startup set the rect of this stack to "100,10