My ham radio logging software has a setting that causes all user input to be
converted to uppercase and displayed that way in the input field as the user
enters it. In other words, regardless of the graffiti shift state, if the
user enters 'a' using graffiti, it will appear as 'A' in the input field.
This was simple enough to do for Palm OS 4.1 and earlier--I just handled the
KeyDownEvent, converted from lowercase to uppercase, and then made sure I
left handled = false so the system would handle the input. No matter what I
do for Palm OS 5.x, though, the character remains lowercase when it appears
in the input field. I've tried using TxtTransliterate and verified that the
character conversion took place. I also tried brute force:
if (event->data.keyDown.chr == chrSmall_A) {
event->data.keyDown.chr = chrCapital_A;
FrmCustomAlert(InfoAlert,
"Converted!", "", "");
}
In each case, debug statements indicated that the logic was being executed
and the character was converted, but in 5.x the lowercase character still
appeared in the input field. What am I missing?
Thanks -
Dave Ek
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/