?
Solved

Control Readonly and ContextmenuStrip?

Posted on 2010-01-11
3
Medium Priority
?
338 Views
Last Modified: 2013-11-08
Using vb.net and winform. I have controls that have a ContextmenuStrip attacheed. Sometime these control are in a ReadOnly=True state to prevent user making changes. But I still want this Menustrip to appear chen I right click on the control. Is there any way of doing this?
0
Comment
Question by:Jess31
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 26289900
The ContextMenuStrip still appears for me with ReadOnly set to True (tested with a TextBo).  You must have some other property set that is preventing it from appearing?...

What controls are you using?
0
 
LVL 1

Author Comment

by:Jess31
ID: 26289966
Yes, yes. Sorry. I'm dealing with Combox which does not have ReadOnly so I'm using Enabled.
Is there away to use ReadOnly with ComboBox and CheckBoxes or to allow it to access the contextmenuStrip even when Enabled=False?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 26302969
0

Featured Post

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question