I have a simple question, I have the following menu.

Main Menu
Sub Menu 1
Sub menu 2
Sub menu 3
Sub sub menu 3.1
Sub sub menu 3.2
Sub sub menu 3.3

I would like to direct if the Form load that "Sub sub menu 3.3" is selected.

Is that possible?
If so, how?

Recommended Answers

Just double click on "Sub sub menu 3.3" and add something like this:

Private Sub LoadForm2ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles LoadForm2ToolStripMenuItem.Click
    End Sub

also check this link out:

Jump to Post

All 3 Replies

The menu item should have a PerformClick method that you can call in the form's load event handler.

When the form loads, you want to execute what the "Sub sub menu 3.3" doing? is that what you want? or just highlight the "Sub sub menu 3.3"?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.