[2.0] Keyboard and Enter event
How to change the language of the textbox from Arabic to English and vise versa like to set a specific language to the text like the old VB6 to handle the keyboard by sending keystrokes. Another thing I try to send keys in the Text_Enter event but it doesn't work so which event replaed the VB6 GotFocus event.
Re: [2.0] Keyboard and Enter event
Quote:
How to change the language of the textbox from Arabic to English and vise versa
You can change the UI culture of the whole thread. like:
Code:
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
Quote:
Another thing I try to send keys in the Text_Enter event but it doesn't work so which event replaed the VB6 GotFocus event.
The event to replace the got focus would be the "Enter" event