Re: Programmatically setting the Shift key?

2008-04-06 Thread Lionscribe
Just set the Field as Numeric in your resource file, the OS will do it 
automatically.
Lionscribe

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Programmatically setting the Shift key?

2008-04-06 Thread John Spence
Hi Ryan,

Thanks for the ideas.  I'll give them a try.  I'm rather surprised, though, 
that the SDK does not provide a function for this purpose.

Bye,

John
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


re: How to activate dinamically the alt of treo devices?

2008-04-06 Thread John Spence
Hello,

Could you please be a little more specific - it's been a long time since I did 
any Palm Development, and I'm using the R5 version of the Palm SDK in which I 
find nothing about HsGrf.  I need to do something similar to setting the Alt 
key on a Treo.  Would you please let me know which SDK you are talking about?

Thank-you,

John
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Programmatically setting the Shift key?

2008-04-06 Thread Ryan J Rix
You could have your form handler intercept the characters, and if it is e, 
send a 1 into the form's handle, etc etc
Or you could enqueue the Shift key as a character using the constants in 
HsChars.h and EvtEnqueueKey()

~Ryan

On Sunday 06 April 2008 15:34, John Spence wrote:
> Hello, I'm not sure if this forum is still active - it's been a couple
> years since I was last here.  There is very little to search for old
> questions, so I have to ask what I hope is a relly basic question...
>
> I'm fixing an old program written for the Treo 650.  The application uses a
> Field in a Form to input numerical data.  The client does not want to have
> to press the "shift" key to enter the numerical data and asks that the
> program figure out by itself that when, for instance, an "E" key is
> pressed, the user actually wants to enter "1".  Anybody know how to do this
> programatically using the R5 Palm Development Library?
>
> Thanks,
>
> John

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Programmatically setting the Shift key?

2008-04-06 Thread John Spence
Hello, I'm not sure if this forum is still active - it's been a couple years 
since I was last here.  There is very little to search for old questions, so I 
have to ask what I hope is a relly basic question...

I'm fixing an old program written for the Treo 650.  The application uses a 
Field in a Form to input numerical data.  The client does not want to have to 
press the "shift" key to enter the numerical data and asks that the program 
figure out by itself that when, for instance, an "E" key is pressed, the user 
actually wants to enter "1".  Anybody know how to do this programatically using 
the R5 Palm Development Library?

Thanks,

John
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/