TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sasikumar
NA
15
0
How to make "ContextMenu" disappear on Keypress Event?
Feb 13 2012 7:07 AM
Hi,
I've a ContextMenu in my Form. After clicking multiple items with sub-menu, finally it comes to ToolStripTextBox. I enter some text and press "Enter". The KeyPress event verifies that the "Enter" key was pressed and does the required actions without any issues.
Now the issue is, the expanded ContextMenu with the sub-menu and the ToolStripTextBox is still visible on the Form. How can I make the "ContextMenu" disappear on verifying that the "Enter" key was pressed?
Thanks,
SK
Reply
Answers (
1
)
Set HTTP Proxy using VB.NET
Popup form should not remain on screen if application is not in focus