Fullscreen on Windows

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
gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Fullscreen on Windows

Post by gsillevis » Wed Oct 14, 2020 4:20 pm

Hi there,

I'm working on a stack that is 1920x1080. I use

Code: Select all

on preOpenStack
   set the fullScreenMode of me to "letterbox"
end preOpenStack
in the hope that someone opening the file on a smaller resolution screen will be able to see everything. Unfortunately, when I sent it to my friend, they can only see a portion of the screen. I'm sure I'm doing something wrong. Any idea what?

Thank you!

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Fullscreen on Windows

Post by AxWald » Wed Oct 14, 2020 4:24 pm

Hi,

you forgot this line following:

Code: Select all

set the fullscreen of this stack to true
That actually activates the fullScreenMode.

Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Re: Fullscreen on Windows

Post by gsillevis » Wed Oct 14, 2020 4:39 pm

It seems so obvious in hindsight :)

Is it also possible to have the contents of the stack scale like a letterbox, but in a window and not fullscreen?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Fullscreen on Windows

Post by jmburnod » Wed Oct 14, 2020 5:05 pm

Hi,
You may use scalefactor property to scale the stack and set the backdrop to true with what color you want.
No tested on windows but works on OS X
Best regards
Jean-Marc
https://alternatic.ch

Post Reply