Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    force the cursor in a txtbox (2000 sr 1)

    ... i have make this condition:

    If TextBox38.Text = "5" Then
    TextBox39.Enabled = True
    Else
    TextBox39.Enabled = False
    End If

    my problem is:

    to force the cusor in the txtbox39 if is inserted "5" in the textbox38 and make to appear, after this forced condition, a msg box if the txtbox39 not have nothing character inserted... (minimum 20 character)

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: force the cursor in a txtbox (2000 sr 1)

    How about something like this
    <pre> If TextBox38.Text = "5" Then
    TextBox39.Enabled = True
    TextBox39.SetFocus
    Else
    TextBox39.Enabled = False
    End If
    </pre>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •