Specifying Application Icon to Use in Ask/Answer Dialogs

Revolution provides two global variables that specify the ids of the images to use in ask and answer dialogs. The variables are gRevAppIcon and gRevSmallAppIcon. You can specify the images to use in the General tab.

You can also display these images in your application by assigning the id of an image to glxapp_getProp("32x32 app icon id") or glxapp_getProp("64x64 app icon id") which return the ids of the respective images.

Locate Image Icon Bins

There are two images on the General tab. One for a 64x64 image and another for a 32x32 image. Double-click on either one to select the image to use.

Select Image File

Double-clicking on one of the images will prompt you to locate a file.

The Result

The images will be displayed in the General tab.

Previous Lesson: Storing Application Data and User Preferences Table of Contents Next Lesson: Adding a Splash Screen