Results 1 to 3 of 3

Thread: [RESOLVED] textbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2006
    Posts
    11

    Resolved [RESOLVED] textbox

    ok I have couple of textboxes I want to tab to the next textbox when the number of letters in the box is equal to maxlength property. How can i do this using api function or is there any other way?? tnx.

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: textbox

    VB6? if so:
    VB Code:
    1. Private Sub Text1_Change()
    2.     If Len(Text1.Text) = Text1.MaxLength Then SendKeys "{TAB}"
    3. End Sub

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2006
    Posts
    11

    Re: textbox

    Quote Originally Posted by bushmobile
    VB6? if so:
    VB Code:
    1. Private Sub Text1_Change()
    2.     If Len(Text1.Text) = Text1.MaxLength Then SendKeys "{TAB}"
    3. End Sub
    lol that was simple tnx man it works.

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