Questions tagged [disabled-control]
322 questions
2
votes
1 answer
How can i have a disabled Text that is scrollable?
My Text is declared as,
Text text= new Text(parent, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.WRAP);
It should be disabled in some cases. But when I do
text.setEnabled(false); the text's scroll bar gets disabled too and i am not able to see…

Monikka
- 518
- 6
- 12
2
votes
6 answers
How to protect an asp:textbox from user input?
How to protect an asp:textbox from user input?
DISABLE IT
PROTECT IT
I wish to protect the textbox as above from…

DreamTeK
- 32,537
- 27
- 112
- 171
2
votes
1 answer
Mouseenter is never triggered when entering through disabled child element
I have a gray div with a disabled checkbox in it.
http://jsfiddle.net/hFPTU/1/
I also have blue div that is positioned over the gray box, but below the checkbox.
A third div is updated with text when mouseenter and mouseleave events are triggered on…

Ken Hirakawa
- 7,831
- 10
- 38
- 49
2
votes
2 answers
Is it possible to disable a GtkNotebook tab (like set_sensitive(*tab*, false)) in GTK+ 2.24?
I have searched on the internet but didn't reach any conclusion.
This feature feels "natural" in the GUI, that's why I'm asking here despite having found nothing on the issue.
I already know that if I hide the top widget of the notebook page, the…

StinkyCat
- 1,236
- 1
- 17
- 31
2
votes
2 answers
ASP.NET MVC Disable/Hide Controls Based on Business Rules
I need to either mark controls as read-only, disable them or hide them entirely depending on various business rules.
Currently, I am passing an enum along for each property in my view model. I then check the value of enum for each control. This has…

Travis Parks
- 8,435
- 12
- 52
- 85
2
votes
1 answer
changing the disabled font color
THis is a list table, and one list is disabled. As you guys know, the font color is a gray when it's disabled. I am using IE9, and I want to change the font color. Does anyone know how to change the disabled font color???
here is my code: