My problem is solved. I intercepted the event like you said but in
there I used the function GrfSetState to set the Caps lock and worked fine!
Thanks for the hint!
Marcelo
case keyDownEvent:
GrfSetState(true, false,false);
handled = false;
break;
-----Original Message-----
From: Jason Partyka [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 3:01 PM
To: Palm Developer Forum
Subject: Re: Upper case
Try intercepting the event generated when a character is input, and then
converting that character to upper case.
-jp-
>>> [EMAIL PROTECTED] 09/22/00 12:02PM >>>
Hello,
I would like to enter just upper case letters in my fields, so I'm
trying to set the CapsLock automatically for the graffiti but without
success. How could I do that? I already tried to use the GrfSetState,
GsiSetShiftState... How can I create programmatically the two strokes (Caps
Lock)?
CW 6, Palm OS 3.5
Thanks!
Marcelo
snip code:
case frmOpenEvent:
frmP = FrmGetActiveForm();
// GrfSetState(true, true,true);
InfoFormInit( frmP);
FrmDrawForm ( frmP);
GrfInitState();
GrfSetState(true, false,false);
// GsiSetShiftState(glfCapsLock,glfCapsLock);
handled = true;
break;
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/