Using a second monitor

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
strayeye
Posts: 5
Joined: Thu Apr 07, 2011 2:28 pm

Using a second monitor

Post by strayeye » Thu Apr 07, 2011 2:36 pm

Hi, im new to all this so you will have to excuse me if what im asking is stupid. Is it possible to force a stack to run on a second pc screen. I need to run part of the app on my primary display and another part on my secondary display and force it to start like this when run as a stanalone app.

Any suggestions would be greatly appreciated.

Many thanks in advance

SparkOut
Posts: 2944
Joined: Sun Sep 23, 2007 4:58 pm

Re: Using a second monitor

Post by SparkOut » Thu Apr 07, 2011 3:01 pm

There is a cross-platform issue with being able to specify particulars about the order of attached screens and their coordinates, but if you refer to the dictionary entry for "screenrects" you may find you can get enough information to work out how it pertains to your environment.

If you test the (effective) screenrects on startup and check for additional lines of results, you should be able to get the co-ordinates for the rect of the secondary and subsequent displays. On application startup you can set the location of the secondary stack to somewhere within the bounds of the secondary screenrect coordinates.

This is probably not as good as letting the user drag his/her own stacks about according to preference, and then saving the positions in a preference file to be reused next time though.

strayeye
Posts: 5
Joined: Thu Apr 07, 2011 2:28 pm

Re: Using a second monitor

Post by strayeye » Mon Apr 11, 2011 9:27 am

Many thanks for the reply sparkout, I shall give a go.

Post Reply