changing the main stack

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
ecflyer
Posts: 24
Joined: Tue Oct 20, 2009 12:04 am

changing the main stack

Post by ecflyer » Wed Nov 11, 2009 8:25 pm

I'm very new to Rev and have read that there is a way to change the main stack. I've created a main stack that I realize should be either a sub-stack or a card now. Can I create a new main-stack and apply the other main-stack to it or switch the current main-stack with a different sub-stack?

I would also like to have the sub-stack (when it is selected by a user) to always be on top of the other windows in the program (not the entire computer like when 'systemWindow' is selected.) Is this possible with or without a script and should this window that allows user input be a sub-stack or a card?

Sorry if this is elementary stuff, but I did research this problem a little and came up blank. I am using RevMedia 4.0 on a MAC with Snow Leopard.

Thanks,
E

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: changing the main stack

Post by sturgis » Wed Nov 11, 2009 8:45 pm

If you look at the properties of the stack you want to be the main, there is a drop down list where you can point it to itself as main. Then set any other stacks to point to the correct stack also.

Not sure about your other question tho at the moment.

ecflyer wrote:I'm very new to Rev and have read that there is a way to change the main stack. I've created a main stack that I realize should be either a sub-stack or a card now. Can I create a new main-stack and apply the other main-stack to it or switch the current main-stack with a different sub-stack?

I would also like to have the sub-stack (when it is selected by a user) to always be on top of the other windows in the program (not the entire computer like when 'systemWindow' is selected.) Is this possible with or without a script and should this window that allows user input be a sub-stack or a card?

Sorry if this is elementary stuff, but I did research this problem a little and came up blank. I am using RevMedia 4.0 on a MAC with Snow Leopard.

Thanks,
E

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Thu Nov 12, 2009 8:33 am

To make a stack float above the others, but only inside the application, you'll probably want to use the palette command.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

ecflyer
Posts: 24
Joined: Tue Oct 20, 2009 12:04 am

Post by ecflyer » Thu Nov 12, 2009 1:43 pm

Thanks all. This program is going to be great.

Post Reply