Martin.

What happens if you run this line from msg after the window is open?



Craig



-----Original Message-----
From: Martin Baxter <mblivec...@harbourhosting.co.uk>
To: How to use LiveCode <use-livecode@lists.runrev.com>
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,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 specified position on screen is not honoured. The stack window may
open centered or displaced by whatever other windows are already open.
Setting the loc doesn't seem to work either.

This worked for me in 6.5.2 and earlier.

I'm thinking this is a bug, does anyone else have any insight on this?

Martin




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to