Question about textbox
-
I have a problem in textbox i want when somebody enter a character in the textbox the textbox show another char (Unicode Char) for example if entered 'd' the textbox show 'h'(or Unicode char) is there any Solution? With Thanks MHF
you can do so using the event of KeyUp. Do whatever you want to do in that event and as the user will write some character, that character will immediately be converted to your desired character regards
sAqIb "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men." Dr. Martin Luther King Jr.
-
I have a problem in textbox i want when somebody enter a character in the textbox the textbox show another char (Unicode Char) for example if entered 'd' the textbox show 'h'(or Unicode char) is there any Solution? With Thanks MHF
I guess you are creating a textbox for custom non english language. Follow the following steps which will help you out.
- Derive a class from TextBox. - Override OnKeyPress protected function (This is called before character is displayed on the screen). - Read e.KeyChar. - And finally replace e.KeyChar with new character.
:rolleyes:Thats it...M Aamir Maniar aamirOnline.com
-
I guess you are creating a textbox for custom non english language. Follow the following steps which will help you out.
- Derive a class from TextBox. - Override OnKeyPress protected function (This is called before character is displayed on the screen). - Read e.KeyChar. - And finally replace e.KeyChar with new character.
:rolleyes:Thats it...M Aamir Maniar aamirOnline.com
-
you can do so using the event of KeyUp. Do whatever you want to do in that event and as the user will write some character, that character will immediately be converted to your desired character regards
sAqIb "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men." Dr. Martin Luther King Jr.