Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Control 'seems' to be locked

I'm trying to change properties to a control however it seems as if it's "locked" but in reality, it isn't because when I right-click on the control it shows the control as being unlocked.

I'm using Visual Studio 2005, and I've never worked with a control that seems to be locked as such in the picture provided.

I'd really appreciate a simple explanation and how to resolve this issue so that I can proceed with modifying it.

enter image description here

like image 879
MPaul Avatar asked Dec 05 '11 21:12

MPaul


People also ask

How do I unlock my Ctrl key?

a. Go to Start / Settings / Control Panel / Accessibility Options /Keyboard Options. b. Turn off CTRL lock if it's on.

Why is Ctrl key locked?

(Then press Esc to exit system screen.) Another method: You can also press stuck key: so if you clearly see that it is Ctrl which got stuck, press and release both left and right Ctrl . This allows system to see key press and release events (again) and thus detect correct status of these keys.

Why is my computer holding Ctrl?

This could be caused by the 'Sticky Keys' function (an accessibility option). If you are on Windows 7, click on the start button go to Control Panel, ease of access, change how your keyboard works. Under the option 'Make it easier to type', uncheck 'Turn on Sticky keys' and see if this solves your problem.


1 Answers

This will happen when you try to design an inherited form and the control(s) on that form are private. The designer observes accessibility modifiers. Go back to the base form and change the Modifiers property of the controls from Private to Protected.

like image 181
Hans Passant Avatar answered Nov 05 '22 15:11

Hans Passant