Expand/reduce the size of a stack

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lbtony
Posts: 35
Joined: Tue Apr 11, 2006 9:01 am

Expand/reduce the size of a stack

Post by lbtony » Wed Feb 21, 2007 11:47 am

The kind of things I want to do is to expand a stack and show a set of control/recude the size of a stack, and hide a set of controls. Like in the Runrev menubar, when we go view->toolbar icons, it will hide/show a portion of the stack and some controls.
Can anybody tell me the concept behind this?
Cheers.

lbtony
Posts: 35
Joined: Tue Apr 11, 2006 9:01 am

Post by lbtony » Wed Feb 21, 2007 12:27 pm

I think I've worked it out myself, sorry for disturbing:)

marielle
Livecode Opensource Backer
Livecode Opensource Backer

Post by marielle » Wed Feb 21, 2007 12:53 pm

lbtony wrote:sorry for disturbing:)
Nothing to be sorry about ;-). As the time between your two posts indicate, to write a question is often the best way to get to discover how to solve your problem.

How did you manage this?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Feb 21, 2007 1:36 pm

Have a look at the disclosure triangles in the Objects library (which is not installed with Rev 2.8 unfortunately).

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

lbtony
Posts: 35
Joined: Tue Apr 11, 2006 9:01 am

Post by lbtony » Wed Feb 21, 2007 2:03 pm

Hi Mark,
I remember you told me that Runrev will make 2.5 a free update to all users. Do you know the link on their site? I can only see download for 2.8 and 2.6.1
Cheers.

lbtony
Posts: 35
Joined: Tue Apr 11, 2006 9:01 am

Post by lbtony » Wed Feb 21, 2007 2:12 pm

Hi Marielle,
The way I did it was to increase/decrease the hight of the stack, while putting all the control at the same place all the time. Should have experimented before I shouted my question :)
Cheers

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Feb 21, 2007 2:22 pm

Hi Tony,

There is no official 2.5. There will be a free version for all 2.7 licse holders, but I am not suer which version it will be. I suggest you ask support.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply