Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21847

unloading popup menuitem error

$
0
0
when ever i try to unload a menu item from the popup menu item under combbox click event like this

vb Code:
  1. For i = mnuTCategory.Count - 1 To 1 Step -1
  2.        Unload mnuTCategory(i)
  3. Next

I get this error "Unable to unload within this context". Can someone show me how to do this

Viewing all articles
Browse latest Browse all 21847

Trending Articles