Setting Default Language in specific TextBox

G

Guest

Hi,

I have a TextBox, and i want that when ever it gets focused i will call an
event who preform like ALT + SHIFT (meaning, change the language of the
textbox).
What i actually need is, to make my textBox to always write in English, no
metter which language is configured in the Windows, on this specific TextBox
i need always english. Is it possiable ?
 
Y

Yunus Emre ALPÖZEN [MCSD.NET]

u should create a new component that inherits from textbox. By using
javascript u can handle user inputs and check if pressed key is an english
character or not. If not simply set window.event.returnCode to false to
cancel pressed key

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top