How to rename a stack with a button??
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
How to rename a stack with a button??
How to rename a stack with a button but asking the name of the renamed stack?? ??
best regards,
lestroso
best regards,
lestroso
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to rename a stack with a button??
Could you explain things a bit better: maybe with a picture?
Re: How to rename a stack with a button??
Why wouldn't this work? (Feel free to embellish it a LOT )
Code: Select all
// all code in buttons handler...
on mouseUp
createNuStack
end mouseUp
on createNuStack
ask "Stack name?"
create stack it
save stack it as it & ".testStack" //<- or whatever extension you want to use...
end createNuStack
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to rename a stack with a button??
Ah, so this is just a reduplication of the other posting.
Re: How to rename a stack with a button??
Apparently, I saw the other post after writing the above Richmond. Oh the shame of it all
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
Re: How to rename a stack with a button??
there's again the same problem.... the script don't save anything...
thanks alot in any way..
lestroso
thanks alot in any way..
lestroso