Changing order of cards in 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
ds_tx
Posts: 17
Joined: Sat Jul 21, 2007 6:56 pm

Changing order of cards in stack

Post by ds_tx » Tue Sep 11, 2007 6:02 pm

Is there an easier way to move the order of cards around in a stack?
On Mac, I open Application Browser from Tools menu to view Card IDs and Number in stack. I double click on a card to navigate to it, then select Card Inspector from Object menu to change card number. I have to keep going to menu bar for Ap Browser to navigate to next card and to Card Inspector to change number because the Ap Browser and Card Inspector don't remain open when moving from one to the other. There are no key commands for Ap Browser of Card Inspector listed in the menu. On top of everything, the changes don't take effect unless I add a new card, then delete it. There's got to be a better way.
ds_tx

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

Post by Mark » Tue Sep 11, 2007 8:03 pm

ds_tx,

What do you mean, don't remain open? Do you know that you can lock the propery inspector by clicking on the ehm... lock?

I think you can enter the new card number in the property inspector directly, without pressing any buttons. Maybe that helps?

Also, you could run the following from the message box:

set the number of this card to 10

And finally, I really wouldn't know why changing a card number doesn't take effect until you create a new card. Can you explain what's going on?


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

ds_tx
Posts: 17
Joined: Sat Jul 21, 2007 6:56 pm

Post by ds_tx » Tue Sep 11, 2007 8:40 pm

The problem with the Application Browser is mute: Browser was simply "disappearing" behind the card when I navigated to a new one.

However, if I lock the Card Inspector, it continues to display card name and number for the card at which it was locked only. It does not change to display that info on any subsequent cards to which I navigate using the Application Browser.

If I unlock the Card Inspector, then when I navigate to another card using the Application Browser, the Card Inspector switches to the Stack Inspector, forcing me to return to the Object Menu in order to reselect the Card Inspector.

If I have 15 cards, and I change number 15 card to number 4, cards 4 to 14 aren't automatically bumped down by one to make room for card 15 being moved to number 4. The change doesn't take place unless I go through cards 4 to 14 and manually change the number on ALL of them; then add a new card, then delete the newly added card otherwise my new snyc isn't implemented and the cards won't move to the position I assigned them using the Card Inspector.

If I try to enter in the message box: set the number of this card to 10, I get . . .
Script compile error:
Error description: Properties: token is not a property
ds_tx

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

Post by Mark » Tue Sep 11, 2007 8:52 pm

Dear ds_tx,

I understand the problem with the card property inspector now. I believe you could ask for a solution by posting a feature request to QCC.

As a shortcut, you can doublelick with the pointer tool in a card to get the property inspector for a card.

Are you sure you didn't make a typo? 'set the number of this cd to 10' works fine for me.

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