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
rom 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 > se

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

set stack rect in startup handler

2014-03-24 Thread Martin Baxter
This: on startup set the rect of this stack to "100,100,300,300" end startup Does not seem to work in version 6.6 (at least for me, on Linux) Obviously the idea is to set the initial position of an application window. What happens is that the window is correctly sized to 200 * 200 px, but the