On Tue, Oct 17, 2000 at 10:36:56AM -0400, Wheeler Wood wrote:
> I have some code with repeating buttons for navigation. The next and last
> buttons are "greyed out" when the user gets to the last or first records
> respectively. Everything works fine on a Palm VII (v3.2 OS) but the "greyed
> out" buttons do not appear on a Palm V (v3.1 OS). I ran the AsciiChart
> program on the Palm V and the symbol values are not valid. Is this an OS
> issue or something else?
The "grayed out" left and right arrows in the Symbol 11 font were
added in PalmOS 3.2, and so aren't available in 3.1 and older.
> These are the values I use to change the buttons:
>
> #define BLACK_NEXT "\x03"
> #define GREY_NEXT "\x06"
>
> #define BLACK_PREV "\x02"
> #define GREY_PREV "\x05"
BTW, names for these are defined in Chars.h:
// Characters in the 11 point symbol font. Resource ID 9004
enum symbol11Chars {
// ...
symbol11LeftArrow,
symbol11RightArrow,
symbol11LeftArrowDisabled, // New for Palm OS v3.2
symbol11RightArrowDisabled // New for Palm OS v3.2
};
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/