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.
|
- Re: [DUG]: Detecting Key press values Colin R Dillicar
- Re: [DUG]: Detecting Key press values Neven MacEwan
- Re: [DUG]: Detecting Key press values Alex Kouznetsov
- Re: [DUG]: Detecting Key press values Dave
- Re: [DUG]: Detecting Key press values Nello Sestini
- Re: [DUG]: Detecting Key press values Peter Huebner