Kane Jeeves
Active member
- Joined
- May 17, 2006
- Messages
- 44
- Programming Experience
- 5-10
I have two forms frmA, frmB. I have a listview on frmA with a couple items with tags. In the listviews Itemactivate event I get the FocusedItem's tag and open frmB. Everything works fine until I close frmB and come back to frmA. The original item is still selected but the Itemactivate no longer opens frmB. I can step right into the frmB.Show line on frmA, it's just that frmB nevers shows.
Private Sub ListView1_ItemActivate(...) Handles ListView1.ItemActivate
Select Case ListView1.FocusedItem.Tag
Case "showfrmB"
frmB.Show() '<<<frmB doesn't Show 2nd time around
End Select
End Sub
frmB then does this: Me.Close()
I've tried adding Hides, Activates, etc. with no luck. Any suggestions?
Kane
Private Sub ListView1_ItemActivate(...) Handles ListView1.ItemActivate
Select Case ListView1.FocusedItem.Tag
Case "showfrmB"
frmB.Show() '<<<frmB doesn't Show 2nd time around
End Select
End Sub
frmB then does this: Me.Close()
I've tried adding Hides, Activates, etc. with no luck. Any suggestions?
Kane