Resizable Layout (or Section)

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dickey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Wed Apr 08, 2009 11:54 pm

Resizable Layout (or Section)

Post by dickey » Fri May 28, 2010 5:52 am

Hello all,

I am sure many of you are familiar with ScreenSteps (by Blue Mango Learning Systems). The main UI has a resizable panel to the left of screen.

I would like to know how to best approach coding that UI feature using Revolution.

I can think of a number of ways (draw a large rect, place a vertical divider next to it, script resizing based on mouse interactions with the divider), but it would be nice to have someone confirm that approach or light the way for me a little.

Any thoughts greatly appreciated.

Kind regards,

Andrew

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Resizable Layout (or Section)

Post by FourthWorld » Fri May 28, 2010 6:05 pm

This is a simple four-way splitter example that may help:

http://fourthworldlabs.com/rev/splitter-experiment.rev
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dickey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Wed Apr 08, 2009 11:54 pm

Re: Resizable Layout (or Section)

Post by dickey » Fri May 28, 2010 10:48 pm

Thank you very much Richard,

Great example - I am just working through it now.

Most appreciated.

Kind regards, Andrew

Post Reply