HyperCard: If Wrong Palette Appears (7/92)

Sometimes palettes don't appear when they should, or the wrong palette
appears. Why is this?

If a palette doesn't appear when called, but no error message is generated,
then the likely cause is that there is no PICT resource for the palette (or
it is corrupted). This may happen if the PLTE resource is installed without
its corresponding PICT resource.

Also, if there is no corresponding PICT resource (with the same id number
as the PLTE resource), then the palette will appear with the first PICT
that it does find in the resource fork of the file. So the wrong palette
picture might appear, but the active buttons (which may not be visible)
will be for those of the palette that was called.


This article is adapted from the Claris Tech Info database.
Published Date: Feb 19, 2012