Page 1 of 1

Where are my 8x8x bitmapped icons located?

Posted: Fri Apr 17, 2015 9:39 pm
by erikhans08
Tip: To use the same set of images as icons throughout your stack file, create a substack
and import all your theme images into it. Set the ID property of each image to a high
value (between 10,000 and 100,000) so that it will be unique. You can now reference that
image anywhere in your application. If you want to change theme, you only need to
replace that image with another image and give it the same ID.

In the Property Inspector, the Icons and Border screen has an Icon field with the number 4001 for an 8x8 bitmapped icon I once drew.
The button just to the right of the field shows the Image Library menu with lots of great icons (not numbered) but none of the
sub-libraries contain my images.

I have seen my 8x8s before but I can't remember where or when. The stack and substacks all have only I card, none show the images.
The string "the icon of" is not in the user guide. My scripts all refer to the image this way:

set the icon of button (pWho && "Icon Image") of stack "Icons" to pNewIconNum

Thanks for any suggestions,

Erik Hansen




Where pNewIconNum would be 4001, 4002, etc.

Re: Where are my 8x8x bitmapped icons located?

Posted: Sat Apr 18, 2015 1:03 pm
by Klaus
Hi Erik,

there is this new command -> resolve image ID XYZZ
Check the dictionary, maybe this will help you find your image(s) :D


Best

Klaus

Re: Where are my 8x8x bitmapped icons located?

Posted: Tue Apr 21, 2015 11:37 pm
by erikhans08
Thanks for the tip.
'resolve image id 7001 relative to button "guy1"' yields "true" so you know it exists.
My bit-mapped images turned up on a stack of mine named Images Library of all things.