expanding a stack so that all objects on a card are visible.

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
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

expanding a stack so that all objects on a card are visible.

Post by richmond62 » Thu Jul 10, 2014 7:09 pm

Well; here is one solution.

Please appreciate that I have used fields, when it would be just as easy to use variables.

I have used fields so that everybody can see what is going on.

The button "EXPAND" does the Magic.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: expanding a stack so that all objects on a card are visi

Post by richmond62 » Thu Jul 10, 2014 8:10 pm

New version giving us formattedWidth and formattedHeight; which seem
to make NO sense at all.
Attachments
size_changer.livecode.zip
Here it is.
(16.64 KiB) Downloaded 151 times

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: expanding a stack so that all objects on a card are visi

Post by [-hh] » Thu Jul 10, 2014 10:00 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 3:30 pm, edited 1 time in total.
shiftLock happens

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: expanding a stack so that all objects on a card are visi

Post by richmond62 » Fri Jul 11, 2014 6:19 am

[-hh] wrote:What you really mean, is to
What I really mean is that formattedWidth and formattedHeight don't give what we could term the "outside values" of
all visible controls on a stack.

What you thought I meant is something different . . .

. . . BUT life is like that; everything stuck between what someone means and what someone else thinks they mean :)

Post Reply