Naming, Saving, Editing Stack Name

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
spencer
Posts: 71
Joined: Mon May 09, 2011 3:01 pm

Naming, Saving, Editing Stack Name

Post by spencer » Sun May 06, 2012 2:22 pm

Mistyped "Hello WOrld" and can't change it by editing the stack name in the property inspector because it does not seem to save the change. So I deleted the file, created a new stack, but the old misspelled name is still there. I don't understand how naming and saving and editing names works.

I am surprised that when I save a stack, the name in the title bar does not change to the stack name. I can create a new stack, name it "Hello World", but can't save it, as there is already a stack with that name, even though I deleted the file "Hello World.livecode" in my documents folder. What is on the titlebar, remembered by livecode, and saved to my hard drive seem to be different when I would have thought they would be the same.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Naming, Saving, Editing Stack Name

Post by Klaus » Sun May 06, 2012 2:50 pm

Hi Spencer,

since a stack file can contain more than one stack (main- and substacks), the NAME of the stack
can bedifferent than the FILENAME of the stack.
And you can even set the TITLE of stack to something compeltey different :)

But I also experienced, that one cannot change the NAME of a stack sometimes even if you only corect
the CASE of ONE character, but still have no receipe for this nor a solution...


Best

Klaus

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: Naming, Saving, Editing Stack Name

Post by gpb01 » Sun May 06, 2012 4:04 pm

Klaus wrote: ...
But I also experienced, that one cannot change the NAME of a stack sometimes even if you only corect
the CASE of ONE character, but still have no receipe for this nor a solution...
...
Maybe Spencer can make two steps change ...
... first change from "Hello WOrld" to "Hello World 1", next back to the correct "Hello World" ... ;)

Guglielmo

P.S. : Is like if you try to change just the case of one character in the name of a Windows file/directory ... no way if you don't use this little trick ...

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Naming, Saving, Editing Stack Name

Post by Klaus » Sun May 06, 2012 4:44 pm

Ah, cool trick, thanks :)

Post Reply