Can I recover a deleted object?

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
Cybernicus
Posts: 27
Joined: Fri Apr 01, 2011 10:28 pm

Can I recover a deleted object?

Post by Cybernicus » Tue Apr 12, 2011 10:21 pm

Hi folks. I'm new and facing some matters of understanding how this programs works. I created a field to use as a title for the top card in my stack and set up a lot of parameters like colors, font, size, background shadow and all of that cosmetic stuff. I then drew a small box that obscured part of it and intended to delete the box. Instead I accidentally deleted the field with all those properties and so forth. Unlike most every other program I've ever used, "Undo" did not undo the deletion. Is it so that my field is gone for good and this is how it's always going to be?

I have a way of not being sure that I've done what I've cosmetically decided to and therefore don't have the habit of locking things in the interim of creating them. Do you lock them so they can't be deleted? Or "save" after each object? or what?

Additionally, is there no "zoom" at all in this program to see what you are doing on a clearer level when you're adding cosmetic touches to things? Thank you.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Can I recover a deleted object?

Post by BvG » Tue Apr 12, 2011 11:03 pm

You're right that undo doesn't always work. However, you get used to setting preferences, and those are easy to replicate sooner or later. However, losing large script changes like that is still annoying sometimes to me. Some people use auto-archiving plugins, which save a stack historised every 5 minutes or so. There is no zoom function, but you get used to using the arrow keys to nudge products into the proper positions.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

witeowl
Posts: 45
Joined: Mon Feb 21, 2011 3:02 am

Re: Can I recover a deleted object?

Post by witeowl » Tue Apr 12, 2011 11:06 pm

Check where your focus is. I've had the "undo" button appear unresponsive, but then when I click on the card and then hit undo again, the object I deleted comes back, or the object I moved returns to its previous position, or whatever.

But be warned that it's only a single undo. There are times when I want to undo a series of events, and it will only undo the most recent (if you hid undo again, it acts like a "redo"). Thankfully, this is not the case in the script editor (if you use the little undo/redo arrows).

Cybernicus
Posts: 27
Joined: Fri Apr 01, 2011 10:28 pm

Re: Can I recover a deleted object?

Post by Cybernicus » Wed Apr 13, 2011 12:35 am

Thank folks. We'll get there. :mrgreen:

Post Reply