Icon Refresh

Bob Sneidar bobsneidar at iotecdigital.com
Wed Nov 27 23:03:52 EST 2013

Once again, I seem to have stumbled on my own solution. It seems if I use the object properties to edit the image, when I return from the editing application, the icon updates along with the button. I knew this once. I suppose one of the great things about aging is constantly learning new things, seeing new movies, meeting new friends… you get the picture.

Bob Sneidar

On Nov 27, 2013, at 18:44 , Bob Sneidar <bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>> wrote:

Hi all.

Is there an easy way to get a button whose icon is from a referenced control to update when I modify the referenced file? For instance, I have a PNG file that I imported as a referenced control. I then set a buttons’ icon to the id of that control. All is well.

Now I want to change the size of the icon because it’s too big, so I edit the icon in Preview, half it’s size and save it. Now, how do I get Livecode to recognize the change and update the icon accordingly? I’m sure I could find a way around it, but I was hoping there was some kind of obscure livecode command I could use.

Bob Sneidar

use-livecode mailing list
use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list