hello guys,
I want to a button has an img on it, instead of a label. In button's properties, there are "Bitmap", Graphical check box, and "SelectedBitmap"? does anybody know how to setup for this button? I tried a couple of times, but either the img doesnot display properly, or there is a runtime error when I click the button.
Graphical buttons were added in Palm OS 3.5. The "Bitmap" and "Selected Bitmap" fields are set to the IDs of bitmaps in your resource file that should be used for those two cases. If you leave selected bitmap as 0, then the OS will invert the button to show it being selected. The "graphical" checkbox needs to be set for these fields to be useful.
You really ought to read the Palm OS Companion's discussion of resources to learn more about the resource data structures that are used by the OS.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
