|
-
May 16th, 2005, 09:04 AM
#1
Thread Starter
Junior Member
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.
-
May 16th, 2005, 11:03 AM
#2
Hyperactive Member
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
-
May 16th, 2005, 02:03 PM
#3
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|