Hi Jacek,
In the KeyDown event, you could use
char c = (char)e.KeyValue;
but it would not reflect upper or lowercase characters. You may be able
to get casing by testing for Shift, but I'm not sure if you need to to
further testing to get an acceptable result.
char c = (char)e.KeyValue;
if (!e.Shift)
c = Char.ToLower(c);
On Thu, 09 Nov 2006 08:24:31 +0100, Jacek Jurkowski
<jj********@data-comp.euwrote:
retrieve a Char representing a key value f.e.
Keys.Control?
I must place some keyboard Char into a
keyboard buffer on button click.
--
Happy Coding!
Morten Wennevik [C# MVP]