The 4.0 Calculator is built into the 4.0 ROM. I know you guys are used to ROM version checks and compatibility issues with old OS versions, but when you're coding for a ROM, all you have to worry about is whether it works on that one ROM. Quite a luxury!
That said, I don't see any problem doing your own button highlighting with older OS versions. Just create a regular gadget, detect pen down events within it's bounds, and do your selection logic. The drawing of the bitmap for each button would be done when the form is drawn or updated. On the gray level values, if you're referring to how the selection affects the colors, it's not a fixed formula. That might be a good approach, but the colors were individually selected based on how it looks on the real hardware. Of course, the hardware changes, and the code doesn't, but what can you do? -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
