Drop Down Windows / boxes within Windows

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
no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Drop Down Windows / boxes within Windows

Post by no1g8tor » Mon Mar 22, 2010 5:03 pm

I am looking to write an app like the one in the link below. Theres is nice but i need to make it for my company intranet and use custom things we use. I like the drop down windows for lack of better term. I see this in a lot of mac programs but will need to make it happen for PC. If you look at the demo in the link. The tasks are in small boxes and when they click the task the box(window) expands to show not only the header, but all the specific info and can be edited. Also when it expands the other tasks slide down to make room and when they collapse the box all of the other slide up.

Is this something easy to do? I did some searches on there before asking but did not find anything? Any suggestions would help

Thanks

http://culturedcode.com/things/screencast.html

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

Re: Drop Down Windows / boxes within Windows

Post by Mark » Mon Mar 22, 2010 5:30 pm

no1g8tor,

Looking at the screen cast, I have no clue what you mean with drop down windows. Perhaps, a single screenshot would be clearer in this case.

Best regards,

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

no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Re: Drop Down Windows / boxes within Windows

Post by no1g8tor » Tue Mar 23, 2010 1:58 pm

Mark,

Sorry that I wasnt clear. Let me see if this helps. My terminology might be off.

If you goto this link http://www.culturedcode.com/things/ and look at the tasks that the example shows.

Each task is in a small rectangular square but when you get to task "Tune Up Car" its is 3 or 4 times the size and all the detal of that tast in the larger "Expanded" rectangle and if you "close" the task it "colapses" to the size of the other tasks and the tasks below move up to keep in line? I hope that explanattion works.

Basically I want a list of "tasks" in small rectangles "windows" that expand and collapse like the example.

Thanks so much for the help

Mike

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

Re: Drop Down Windows / boxes within Windows

Post by Mark » Tue Mar 23, 2010 2:15 pm

Hi Mike,

I understand it. In Revolution, you can do this with groups. Each group contains a number of images, which form the box you are talking of. You will want to nest your groups inside another group with a vertical scrollbar. You need one template group, which is copied to the main group to create a new task. Scripts will have to adjust the positions of all elements of the box, to make it resize. The same script needs to adjust the positions of all other boxes at the same time. It is all about appearance, there is nothing native in there, although it looks very neat.

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

no1g8tor
Posts: 62
Joined: Fri Nov 23, 2007 3:01 pm

Re: Drop Down Windows / boxes within Windows

Post by no1g8tor » Thu Mar 25, 2010 1:32 pm

Thanks Mark,

Did not think of groups in groups. Makes sense. I will give it a try and see what happens. If it works I will let everyone know.

Take care

Michael

Post Reply