Post: ContextMenuStrip disappearing?
11-08-2015, 10:14 AM #1
Procyon
Gym leader
(adsbygoogle = window.adsbygoogle || []).push({}); Yeah, does anyone know how to fix this? whenever i add a ConextMenuStrip it disappears when i click something else, and i don't want to use a MenuStrip since the colour is gradient. I'm using VS2012

The following user groaned Procyon for this awful post:

Pink Guy
11-09-2015, 12:57 AM #2
Winter
Purple God
Originally posted by Procyon View Post
Yeah, does anyone know how to fix this? whenever i add a ConextMenuStrip it disappears when i click something else, and i don't want to use a MenuStrip since the colour is gradient. I'm using VS2012


You can use the "OnClosing" event to accomplish this, create the event for the contextmenustrip and type in the event
    
e.Cancel = false;

now it wont close when you click away, but you'll have to manually close it.
11-11-2015, 01:41 AM #3
Specter
Pro Memer
Closed as question seems to be answered, PM me if otherwise =D

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo