disable

WPF Enable/Disabled controls from a page placed inside main window application

Hi! I have an WPF application that has a main window. In the left side of this Window there are some buttons into a listbox, it is a kind of menu to access faster to pages. These buttons belongs to pages that they are loaded inside the window when the user selects one. Main window also has another main menu in the top for doing other ta...

Disable copy paste in SWT Text Component

Hi I'm using SWT Text component. Do someone know how can I prevent copy/paste operation for the Text component. Thanks Subha ...

eclipse endlessly initializing index

is there a way to just disable whatever index it is trying to initialize. every time whether i use flex in eclipse, or rails or php, every time i save, it will create numerous "initializing index" and its really slowing eclipse. can this be disabled? thanks. ...

What is the best way to disable an input with a radio button via jQuery?

Hallo all. I got this piece of code: <div> <input id="id1" name="radioButton" type="radio"> <input type="text" id="idText1"> <p></p> <input id="id2" name="radioButton" type="radio"> <input type="text" id="idText2"> </div> When I select the radio id1 I need to disable idText2 and when I select radio id2 I need to d...

log4j.xml show com.foo, but hide com.foo.bar

Hi, I have the following log4j.xml configuration: <log4j:configuration> <appender name = "CONSOLE" class = "org.apache.log4j.ConsoleAppender"> <param name = "Target" value = "System.out"/> <param name = "Threshold" value = "DEBUG"/> </appender> <category name = "com.foo"> <appender-ref ref = "CONSOL...

Enabling and Disabling DCA

Hi all, I'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570. I assume that Intel's DCA is already enabled on my system, because I see # dmesg | grep dca dca service started, version 1.12.1 Am I right? I would like to test the effects of with and without DCA. How can I disable DCA? Thank you. Regards, Rayne ...

How do I disable the network connection from .Net without needing admin priveledges?

I may be SOL on this but I thought I would give throw it out for possible solutions. I am writing a computer access control service to help me control my kids' computer use. Plan on open sourcing it when I have it working. It is written in VB.Net and needs to work on XP through 7. I am running into all sorts of security and desktop acc...

Disable autocomplete on textfield in Django?

Does anyone know how you can turn off autocompletion on a textfield in Django? For example, a form that I generate from my model has an input field for a credit card number. It is bad practice to leave autocompletion on. When making the form by hand, I'd add a autocomplete="off" statement, but how do you do it in Django and still retai...

How to disable backspace if anything other than input field is focused on using jquery

How do I disable backspace keystroke if anything other than 2 specific input fields are focused on using jquery? here is my current code (NOW INCLUDING 2 TEXTBOXES): $(document).keypress(function(e){ var elid = $(document.activeElement).attr('id'); if(e.keyCode === 8 && elid != 'textbox1' || elid != 'textbox2'){ return false;...

How to disable button on form submit exactly like stackoverflow ask question?

I have seen stackoverflow ask question page they disable button until my postback event is finished when i post the question and redirect me to my question page... How to do this in asp.net/jquery? ...

How to disable selective keys on the keyboard?

I'd like to write an application which disables certain keys on the keyboard while it's working. More specifically I'm interested in keys that might make the application loose focus (like ALT+TAB, WinKey, Ctrl+Shift+Esc, etc.) The need for this is has to do with babies/animals bashing wildly at the keyboard. :) My first idea was to use ...

C# Question:Dynamically Disable ToolStripMenuItems/ToolStripButtons in an MDIParent Form: Which Event?

Any guidance on the following issue would be greatly appreciated. In which MDIParent event should I disable the items/buttons? Activated? On program Launch, I want the buttons disabled. If there are no active MDIChildren, I want the buttons disabled. When I launch a child form, I want to test that child form for data. If it is a blank fo...

How to disable log4j in 3rd party jar?

I'm experimenting writing a java SE swing application using joss weld. Weld configures logging with log4j using the following log4j.xml file in the jar: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <!-- JBoss, Home of Professional Open Source Copyright 2009, Red Hat, Inc. and/or its af...

How to disable a checkbox based on date using php?

I have iterated a table based on my query result... I have a column lastDate it contains a date value like 01/24/2010... Now i have to check the date value with the current date if currentdate is less than or equal to lastDate i have to enable the checkbox else disable it..... Any suggestion how it can be done in php... Here is my code ...

Android - Hide all showed Toast Messages

I have a problem, how do I disable all toast messages being process currently? In my App, there is a list, when a user clicks on an item, a toast message is being displayed, 10 items - 10 toast messages, so if the user clicks 10 times, then presses the menu button... he has to wait for some seconds, until he's able to read the menu opt...

How to disable cache in InternetExplorer 8

How can I disable cache in IE8 ? We are doing Javascript development and testing it in IE8, but we have to clear the cache every time we make changes to the Javascript files. ...

WPF TextBox trigger to clear Text

Hi ! I have many TextBox controls and I'm trying to write a style that clears the Text property when the Control is disabled. I don't want to have Event Handlers in code behind. I wrote this: <Style TargetType="{x:Type TextBox}"> <Style.Triggers> <Trigger Property="IsEnabled" Value="False"> ...

UIWebView - How to Disable Action Sheets (UIActionSheet)?

Hey, I would like to know how you can disable UIActionSheets, specifically the Action Sheets being displayed after tapping and holding hyperlinks in a UIWebView. These seem to be enabled by default in UIWebViews containing the link address of the respective link in the title of the alert. They are also enabled in Safari. (How) is it po...

Disable everything in windows except program c#

Hello, I've got the following question: Is it possible te disable everything in windows except the program it's running? I need to program an application on a touchscreen (fullscreen), where people can fill in a survey. The only thing they should use is this program. (for protection of the survey anwsers and other secret stuff :p ) And...

Jasper report: disable pdf toolbar when generating a pdf.

Hi All Is it possible to disable the pdf toolbar when generating a pdf from a Jasper Report? Thank you in advance P ...