how do I addhandler to menustrip item

  • Thread starter Thread starter ngrTerry
  • Start date Start date
N

ngrTerry

I have a menustrip on my form which I add two options on it at runtime

Dim t As ToolStripItem
t.Text = "Option1"
Me.mnuOrigins.DropDownItems.Add(t)

t.Text = "Option2"
Me.mnuOrigins.DropDownItems.Add(t)



Now how do I tell it to call Sub1 for Option1 and Sub2 for Option2
please

Thanks in advance for any feedback

ngr
 
Back
Top