Richard.
I am with you. The saving thing was just an example of how such a message might be used.
Perhaps the message might come with a system global, similar to the one you pointed out to me long ago (global "messageMessages" to enable the undocumented "messageHandled" message) that can be used or not, authors choice, so overhead is not excessive without a good reason.
Craig
How to know if an object has been edited/modified?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How to know if an object has been edited/modified?
I have been kind of half way following this thread, and one thing stands out to me. When you save a stack as a stand alone, it will ask you to save. If however you have just saved it will not. If you change any small thing anywhere, after saving, it will again ask you to save before creating a stand alone. How does the LC engine know that something has changed? Does it, perhaps for "undo" purposes have a hidden variable that saves the last edit and evaluate if that variable is empty?
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: How to know if an object has been edited/modified?
The IDE uses the same engine we use, using existing messages trapped in a frontScript IIRC, as was suggested mere many posts ago.magice wrote:How does the LC engine know that something has changed?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn