A beginner’s neverending list of questions

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
CFCFCF
Posts: 16
Joined: Fri Mar 28, 2025 4:43 pm

A beginner’s neverending list of questions

Post by CFCFCF » Fri Apr 04, 2025 3:37 pm

I don't know if it's a good idea, but rather than spamming the forum with what I anticipate to be numerous separate threads, I thought I'd keep them all here. Without further ado, first question:

1. Is it possible to set the fullscreenmode letterbox colour?

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: A beginner’s neverending list of questions

Post by Klaus » Fri Apr 04, 2025 3:44 pm

Hi CFCFCF,

looks like that is managed by the backgroundcolor of your stack.
At least this is what I see here in my teststack.

Best

Klaus

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

Re: A beginner’s neverending list of questions

Post by dunbarx » Fri Apr 04, 2025 7:47 pm

Hi.

Unless Klaus has understood what I do not, what is "letterbox color"?

Craig

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: A beginner’s neverending list of questions

Post by Klaus » Sat Apr 05, 2025 10:59 am

Hi Craig,

when setting a stack to FULLSCREEN, you can also set its FULLSCREENMODE.
That rules how the stack will be scaled on the monitor. Check the dictionary.

When set to LETTERBOX, it will be scaled proportionally to fit to the screen
in height or width and the rest of the monitor is left blank, so it looks like
a erm. letterbox.

And the empty "space" outside of your stack will get filled with what CFCFCF
calls "letterbox color". Right, CFCFCF? :-)

Best

Klaus

CFCFCF
Posts: 16
Joined: Fri Mar 28, 2025 4:43 pm

Re: A beginner’s neverending list of questions

Post by CFCFCF » Sat Apr 05, 2025 1:10 pm

Klaus wrote:
Sat Apr 05, 2025 10:59 am
Hi Craig,

when setting a stack to FULLSCREEN, you can also set its FULLSCREENMODE.
That rules how the stack will be scaled on the monitor. Check the dictionary.

When set to LETTERBOX, it will be scaled proportionally to fit to the screen
in height or width and the rest of the monitor is left blank, so it looks like
a erm. letterbox.

And the empty "space" outside of your stack will get filled with what CFCFCF
calls "letterbox color". Right, CFCFCF? :-)

Best

Klaus
Precisely! It's probably confusing because 'letterbox' refers to the actual image, not the empty space, but I was sure it was going to get my point across regardless :D

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 161
Joined: Tue Feb 23, 2010 10:53 pm

Re: A beginner’s neverending list of questions

Post by bobcole » Sat Apr 05, 2025 3:33 pm

I think Klaus was correct when he said:
that is managed by the backgroundcolor of your stack
That is different from the backdrop which does allow you to specify the color (see the Dictionary).
Bob

Post Reply