Changing the icon in the ask/answer dialogue boxes

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
laurpapo
Posts: 38
Joined: Thu Jun 21, 2012 4:25 pm

Changing the icon in the ask/answer dialogue boxes

Post by laurpapo » Fri Aug 30, 2013 2:04 pm

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

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus » Fri Aug 30, 2013 2:15 pm

Hi Laurel,

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


Best

Klaus

laurpapo
Posts: 38
Joined: Thu Jun 21, 2012 4:25 pm

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

Post by laurpapo » Fri Aug 30, 2013 2:27 pm

It worked! Thank you so much!

Laurel

Post Reply