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.
Where are my 8x8x bitmapped icons located?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
erikhans08
- Posts: 87
- Joined: Wed Mar 25, 2015 2:01 am
Re: Where are my 8x8x bitmapped icons located?
Hi Erik,
there is this new command -> resolve image ID XYZZ
Check the dictionary, maybe this will help you find your image(s)
Best
Klaus
there is this new command -> resolve image ID XYZZ
Check the dictionary, maybe this will help you find your image(s)
Best
Klaus
-
erikhans08
- Posts: 87
- Joined: Wed Mar 25, 2015 2:01 am
Re: Where are my 8x8x bitmapped icons located?
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.
'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.