0

I have a problem while showing the PopMenu control in VB.NET. Where as in VB6 after showing PopUpMenu control holds on the screeen event after we have code after that also. But when we convert that to VB.NET we get ContextMenu.Show() the control is not holding on the screen and executing the next statements. This statements has to execute after clicking on the menu item in VB6. This is not happening.

Can you help me regarding this?

Peter O.
  • 32,158
  • 14
  • 82
  • 96
Hemant Kumar
  • 4,593
  • 9
  • 56
  • 95

1 Answers1

0

ShowDialog() would block the code but unfortunately ContextMenu Doesn't have that method. You need to use a Form to get this functionality.

Abdusalam Ben Haj
  • 5,343
  • 5
  • 31
  • 45