Results 1 to 3 of 3

Thread: Item in combo box question(Resolved)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    20

    Resolved Item in combo box question(Resolved)

    is there a way to make an item in a combo box open up a new form. Like when the user clicks an item in the combo box, the next form opens up.

    Thanks
    Last edited by Kaneoku; May 16th, 2005 at 02:03 PM.

  2. #2
    Hyperactive Member imadthemad's Avatar
    Join Date
    May 2005
    Posts
    344

    Re: Item in combo box question

    yes u can
    e.g. say when a user chooses an item "Open Next Form" in the combo box combo1

    Private Sub combo1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles combo1.SelectedIndexChanged
    If combo1.Text = "Open Next Form" Then
    dim form2 as new form2
    form2.show (or form2.visible = true etc..)
    End If
    End Sub

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    20

    Resolved Re: Item in combo box question

    ohh ok thanks alot.

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