Results 1 to 3 of 3

Thread: VB.net Problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    VB.net Problem

    I have a 3 TextBox control in a Form, TextBox1, TextBox2 and TextBox3.

    In VB6, I change the Keypreview of a Form into True and put this code into the Keypress Event of the Form.

    If keyascii = 13 then
    Sendkeys vbtab
    Endif

    But how about in VB.NET?

  2. #2
    New Member
    Join Date
    Sep 2002
    Location
    BC,Canada
    Posts
    15
    vb .net I think it is
    Code:
    SendKeys.Send(Microsoft.VisualBasic.ControlChars.Tab)

  3. #3
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    or u can give focus to the other textbox

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