How to make card or stack fullscreen

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
shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

How to make card or stack fullscreen

Post by shawnblc » Mon Sep 09, 2013 8:37 pm

How do you make a card or stack fullscreen (mac and windows). Doesn't seem to work for me though.

Is it as simple as -

Code: Select all

set the fullscreen of this card to true

Code: Select all

set the fullscreen of this stack to true

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

Re: How to make card or stack fullscreen

Post by shawnblc » Mon Sep 09, 2013 9:10 pm

Got it.

Code: Select all

on OpenStack
   set the fullscreen of this stack to true
end OpenStack


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

Re: How to make card or stack fullscreen

Post by Klaus » Mon Sep 09, 2013 9:34 pm

Yes, just like the dictionary says... 8)

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

Re: How to make card or stack fullscreen

Post by shawnblc » Mon Sep 09, 2013 9:58 pm

Klaus wrote:Yes, just like the dictionary says... 8)
I'm trying to take this a step further.

Code: Select all

on openStack
set the fullscreen of this stack to true
set the width of graphic "rec1" to 1440  // or whatever the fullscreen is for this screen 
end openStack                       // instead of length this would be width, but length seems to work. // thinking a nav bar at the top

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

Re: How to make card or stack fullscreen

Post by shawnblc » Mon Sep 09, 2013 10:12 pm

Geez. I'm starting to amaze myself! This is starting to get fun!

Code: Select all

on openstack
   set the rect of graphic "rec1" to the working screenRects
end openstack
this seems to work too.

Code: Select all

on openstack
   set the rect of graphic (rec1) to the working screenRects
end openstack

Post Reply