|
-
Apr 14th, 2004, 12:46 AM
#1
Thread Starter
New Member
opening new form from listview
Easy problem for you guys I bet...a pain in the butt for me, a beginner.
I am trying to click on an item in the listview, and have it open another form. I have no idea for what to use for the code. It can either be selected, and then opened with an "open" button, or just selected, and pop open the form. Any help would be greatly appreciated.
I have already searched for this, and if I missed it I appologize ahead of time.
Thanks in advance!!
-
Apr 14th, 2004, 12:47 AM
#2
Thread Starter
New Member
Sorry, forgot to mention this is for a POCKET PC program using Visual basic .NET.
Thanks!
-
Dec 24th, 2004, 07:24 AM
#3
Addicted Member
Re: opening new form from listview
 Originally Posted by bmueller
Sorry, forgot to mention this is for a POCKET PC program using Visual basic .NET.
Thanks!
Hi!!
Hope u have got ur solution by now in case if u didnot then
in each listview item's tag enter the name of the form it should open and then
in the list view dblclk event
Dim frm As Form
Select Case lvwMain.SelectedItems.Item(0).Tag
Case "frmAbout"
frm = New frmAbout
Case "frmSplash"
frm = New frmSplash
End Select
frm.Show()
Cute Member 
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
|