How do I close (hide) a popup menu ?
By the way, why does the Error:
Automation Error
Catastrophical error
appears?
Thanks in advance.
Printable View
How do I close (hide) a popup menu ?
By the way, why does the Error:
Automation Error
Catastrophical error
appears?
Thanks in advance.
A popup menu should disappear when you click anyplace else. Where/how are you getting the error? You'll probably need to post some code to get any help.
Ok, I agree, but what I meant was hiding (closing) or showing another popup Menu using code.
OK, I'm still confused. A pop-up menu is normally shown via the MouseDown event and that's code, and after you click anywhere else it goes away.
VB Code:
Private Sub MyTextbox_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single) PopupMenu mnuPopupSpellCheck End Sub