Results 1 to 2 of 2

Thread: [2.0] Keyboard and Enter event

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Cairo, Egypt
    Posts
    126

    [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.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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
  •  



Click Here to Expand Forum to Full Width