J
Jordi Rico
Hi,
I was wondering how could I do something which was really easy to do
with VB 6.0.
Let's suppose I have a textbox in which I want to capture some key
events to handle them (for example a numeric only textbox). It is easy,
with e.handled=True.
But what if what I want to do is replacing the key I'm pressing with
some other code? For example, catching all the vowels keys and
replacing with "*", so when they are writing in the textbox, a message
like "I like cats" would show like "* l*k* c*ts". I don't have access
to replace the incoming key, so no idea of doing this...
Thanks!
I was wondering how could I do something which was really easy to do
with VB 6.0.
Let's suppose I have a textbox in which I want to capture some key
events to handle them (for example a numeric only textbox). It is easy,
with e.handled=True.
But what if what I want to do is replacing the key I'm pressing with
some other code? For example, catching all the vowels keys and
replacing with "*", so when they are writing in the textbox, a message
like "I like cats" would show like "* l*k* c*ts". I don't have access
to replace the incoming key, so no idea of doing this...
Thanks!