scorpion53061
MIS
I am trying to devise a way to show the user the last selection they made in
a main menu control. At the modular level I put
Public keychoice As MenuItem
and then in the menu click event:
Private Sub MenuItem600_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem600.Click
keychoice = MenuItem600
curkeyword = "8114"
itemsel = MenuItem600.Text
Dim fmkeywordchoice As New fmkeywordchoice()
fmkeywordchoice.Show()
Me.Hide()
Me.Dispose()
End Sub
Then I call it in another button:
keychoice.PerformSelect()
If I say keychoice.PerformClick it works......
What I want is for the menu item to actually show itself so the user could see where they were.....
but nothing happens........any ideas?
a main menu control. At the modular level I put
Public keychoice As MenuItem
and then in the menu click event:
Private Sub MenuItem600_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem600.Click
keychoice = MenuItem600
curkeyword = "8114"
itemsel = MenuItem600.Text
Dim fmkeywordchoice As New fmkeywordchoice()
fmkeywordchoice.Show()
Me.Hide()
Me.Dispose()
End Sub
Then I call it in another button:
keychoice.PerformSelect()
If I say keychoice.PerformClick it works......
What I want is for the menu item to actually show itself so the user could see where they were.....
but nothing happens........any ideas?