|
-
Dec 15th, 2007, 04:52 PM
#1
Thread Starter
Lively Member
[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.
-
Dec 16th, 2007, 01:42 AM
#2
Re: [2.0] Keyboard and Enter event
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");
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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|