title: How to a scroll a listbox to see the last item added, on event
body: <p>I have a single line textbox that is used to add numerical strings to a checked listbox. I want the listbox to auto scroll to the last item added if this is not visible to the user. I have looked for scroll properties of the listbox but I can't find anything that looks like it will scroll the listbox.</p>
  
  <p>Does anyone have any advice?</p>
  
  <p>Here is the code that adds an item to the listbox:</p>
  
  <pre><code>Private Sub bttAddchklstDbManagement_Click(sender As System.Object, e As System.EventArgs) Handles bttAddchklstDBmanagement.Click
      If Not txtDBManagement.Text = Nothing And Not txtDBManagement.Text = "" Then
          chklstDBmanagement.Items.Add(txtDBManagement.Text)
          chklstDBmanagement.SetItemChecked(chklstDBmanagement.Items.Count - 1, True)
          txtDBManagement.Text = Nothing
          txtDBManagement.Focus()
      End If
  End Sub
  </code></pre>
  
  <p>txtDBmanagement is the TextBox<br>
  chklstDbManagement is the checked listbox</p>