Page 1 of 1

Changing the icon in the ask/answer dialogue boxes

Posted: Fri Aug 30, 2013 2:04 pm
by laurpapo
Hello,

I am wondering if it's possible to customize the image that appears in the dialogue box that appears when you use ask/answer commands. In the livecode dictionary it mentions creating an image (e.g. image id 8799) and putting that image id into the global variable gRevSmallAppIcon. This seemed like the thing I was looking for but I couldn't get it to work. So either I'm doing it completely wrong, or I am completely misunderstanding the purpose of this code.

Code: Select all

global gRevSmallAppIcon
put 8799 into gRevSmallAppIcon
Any help would be greatly appreciated!

Thank you,

Laurel

Re: Changing the icon in the ask/answer dialogue boxes

Posted: Fri Aug 30, 2013 2:15 pm
by Klaus
Hi Laurel,

use "gRevAppIcon" instead:
...
global gRevAppIcon
put 8799 into gRevAppIcon
answer "fdfdfdfdfdf"
...
As far as I remember that worked for me! :-)


Best

Klaus

Re: Changing the icon in the ask/answer dialogue boxes

Posted: Fri Aug 30, 2013 2:27 pm
by laurpapo
It worked! Thank you so much!

Laurel