----- Original Message -----
Sent: Wednesday, March 28, 2001 8:07
PM
Subject: [DUG]: Detecting Key press
values
Hi all,
I'm sure there must be a very simple
solution to this. I used to do the equivalent back in Borland Pascal
V2
I have an Edit Control with which I trap the
'OnKeyDown' event as well as building the normal 'text' string.
When reading the value of Key in the KeyDown
event, how do I differentiate between the value of say the '7' key and its
shifted equivalent '&'' ? The value of 'Key'
remains the same, however the 'Text' field knows the (character)
difference so I should be able to also.
Used to be that I read the value of
the 'Key' a second time if it returned (I think) 0 the first time using
ReadKey
Please remind me, or point me in the right
direction. I can't find it in the Help
Cheers
Colin
PS
How can I find the
respondent's personal address in order to thank them for help?
I'm sure it's not a subject for the
general list but often it's not possible to be courteous.