Hi Guys!!!
I have been playing around with "screenrects", and was hoping to find an easier way to expand my Stack to three monitors. Im not expecting an easy answer and I know I will have to dig deeper into "screenrects" to achieve my goal. Just hoping there is an easier way!!
Many Thanks,
Googie.
Expand Stack Size To Three Monitors.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 9444
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Expand Stack Size To Three Monitors.
Code: Select all
on mouseUp
put the screenrects into fld "Screenz"
set the itemDelimiter to ","
put item 3 of line 1 of fld "Screenz" into midSCREEN
put ((item 1 of line 2 of fld "Screenz") * -1) into lSCREEN
put item 3 of line 1 of fld "Screenz" into rSCREEN
put (lSCREEN + midSCREEN + rSCREEN) into STRETCH
set the width of stack "Stretchy" to STRETCH
set the left of stack "Stretchy" to item 1 of line 2 of fld "Screenz"
end mouseUp
You will also have to do some work with regard to the height of the stack.
And REMEMBER that the order the screenRects may appear in your field may differ depending on which platform you
are developing on (the illustration was developed on Macintosh).
- Attachments
-
- Stretchy.livecode.zip
- Here's the stack.
- (1.08 KiB) Downloaded 183 times