Size of window between close/startup

Terence Heaford t.heaford at btinternet.com
Thu Aug 28 02:40:43 EDT 2014


On 27 Aug 2014, at 21:15, J. Landman Gay <jacque at hyperactivesw.com> wrote:

> Yes, or reference something in the stack that's the right dimensions. I'm working on a stack where a background image is the same size as the stack, so I just set the width and height of the stack to the width and height of that image. If you know you'll never change the dimensions, you can just hard-code a width and height into the preOpenStack handler. You probably shouldn't hard-code an exact rectangle because that rectangle may not be accurate on a monitor of a different size.

I decided to hard code the minimum stack size set in the stack properties and start the app with the window at that size by setting it in the preOpenStack handler.


Thanks for your help.

Terry






More information about the use-livecode mailing list