Results 1 to 39 of 39

Thread: [2005] List1 selected items

Threaded View

  1. #8
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] List1 selected items

    Add these debug statements.

    Code:
    Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
      debug.writeline (ComboBox1.SelectedItem)
            If ComboBox1.SelectedItem = "Item1" Then
    ...
    End Sub
    
    
    Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged
       debug.writeline (ComboBox1.SelectedItem)
            If ComboBox1.SelectedItem = "Item2" Then 'ComboBox1?????
    ...
    End Sub
    Also, what is List1?
    Last edited by dbasnett; Apr 12th, 2008 at 09:48 AM.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

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