Where are my 8x8x bitmapped icons located?

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
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Where are my 8x8x bitmapped icons located?

Post by erikhans08 » Fri Apr 17, 2015 9:39 pm

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.

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

Re: Where are my 8x8x bitmapped icons located?

Post by Klaus » Sat Apr 18, 2015 1:03 pm

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

erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Re: Where are my 8x8x bitmapped icons located?

Post by erikhans08 » Tue Apr 21, 2015 11:37 pm

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.

Post Reply