Open a stack in another connected 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
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Open a stack in another connected monitor

Post by Mag » Wed Jul 02, 2014 10:16 am

Hi all,

is there a way to open a substack in another monitor than the main one where is running the main stack? If so, what is the best way to accomplish this? :?:

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Open a stack in another connected monitor

Post by dunbarx » Wed Jul 02, 2014 10:44 am

Hi.

Check out the screenrect property, it returns data on multiple screens.

You can then set the loc of the substack to a value that appears in the alternate screen. This value will depend on whether your other screen is set to the left or right of your main screen.

There is a screenName property for Linux that may allow you to access that screen directly, but this does not apply to Mac or Windows.

Craig Newman

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Open a stack in another connected monitor

Post by Mag » Wed Jul 02, 2014 11:20 am

Thank you so much Craig!

Post Reply