Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Control Readonly and ContextmenuStrip?

Posted on 2010-01-11
3
Medium Priority
?
341 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
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

571 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