Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show Main Menu Item

Status
Not open for further replies.
Jan 14, 2003
7
0
0
US
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top