VB3 listbox progression

  • 12 years ago

    I have a series of drop down combo boxes; basically 1 through 4 right now. The jist of what I am doing is the selection from the 1st box is removed from the later boxes 2 through 4.  Box 2's selection is removed from boxes 3 and 4 and so on. I have this script thus far:

    Box1_Click

          Box1.AddItem (Box.Text + "/" + Box2.Text)
          Box2.RemoveItem.Box2.ListIndex
    >    Box1.RemoveItem.Box3   I am getting a (TYPE MISMATCH) eror at this point
    >    Box1.RemoveItem.Box4
    End Sub 

       Box3 and Box4 are invisble until called visible  

     I have tried this code:

        Box1.RemoveItem.Box3.ListIndex        but same error

    Any help would be appreciated

    thank you  

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“An expert is a man who has made all the mistakes that can be made in a very narrow field” - Niels Bohr