disable

How do I disable the opening and closing animation of the DropDown of a ComboBox in WPF?

When I put a combobox in my WPF app, at runtime, when I click it, it rolls down the included items. After selection, it rolls the DropDown up again. Is it possible to prevent the rolling animation from happening? Instead I'ld like to just have it open and closed immediately. - Marc ...

In Emacs, how do I figure out which package is loading tramp?

I have a strange interaction with tramp and cygwin-mount (I think: http://stackoverflow.com/questions/1705802/emacs-tab-completion-of-file-name-appends-an-extra-i-cygwin). Because of this, I want to disable tramp. I'm unable to find anything in my .emacs which is loading tramp explicitly. I can see "Loading tramp..." when I hit a tab in ...

Can you prevent MSBuild.exe from running Build Events?

I'm building a number of projects via a script, and the occasional use of custom build events causes a great deal of difficulty for the build system. If it is possible, I'd like to invoke MSBuild.exe in such a was as to block the execution of any build events. In the long run, this is not an issue for build automation - submitters of p...

How to disable sIFR for headings in a specific div

Hi, Is it possible to have sIFR 2 replace headings in a content like #content, but not in #sidebar? Thanks, osu ...

Javascript: enable/disable button with mouseover/mouseout help

Ok..this should be pretty straightforward: <input type="button" name="test" id="test" value="roll over me" onmouseover="this.disabled=true;" onmouseout="this.disabled=false;"> if i mouseover this button, it gets disabled..yay! But now when I mouseout, it doesn't get enabled...boo. I understand the concept of disabling it means you can...

Overlay blocks in a multi-part form

I've a form with three sections, markup looks something like this: div.section1 legend fieldset button.continue div.section2 legend fieldset button.continue div.section3 legend fieldset button.continue I'd like to have a white overlay on section 2 and 3 so they appear as 'disabled' when the user is still on section 1. When ...

How can I disable auto_prepend in specific folders using htaccess?

I'm using auto_prepend on my website, however I don't want it to be used in every folder. How can I stop php from auto_prepending a file within certain folders using .htaccess? (It doesn't have to be .htacces, I can use any other method but I thought I'd start with .htaccess) ps - I'm using the auto_prepend in php.ini to set the auto_p...

jQuery disable form element when checkbox is checked

I have a complicated jQuery form and I want to disable several form elements if a certain checkbox is checked. I'm using jQuery 1.3.2, and all the relevant plugins. What am I doing wrong here? Thanks, Dakota Here is my HTML: <li id="form-item-15" class="form-item"> <div class='element-container'> <select id="hou...

How do I disable system pop-ups in Windows CE 6?

What do I have to do to disable all system pop-ups in WinCE 6 R2? I read Mike Hall's post about Kiosk mode [1] but that's not going to work for us because we still want the standard graphical Explorer shell. We plan on hiding the taskbar and start menu and clearing icons off the desktop but need an easy way to make sure that no pop-ups...

IronPython disable Import after use

Is there any way to disable the use of import once I've finished using it? I'm using IronPython as a scripting engine and I don't want users to be able to import anything. This could be done in LuaInterface by the use of setfenv: luanet.load_assembly("System.Windows.Forms") luanet.load_assembly("System.Drawing") Form=luanet.import_type...

How to disable eval function without going to php.ini file?

Hello All, Is there a way to disable eval function without doing so from php.ini file. I have tried ini_set function but even that doesn't work. Basically I want my framework users to decide whether this function should be enabled or not through a config file. If they say no, i should be able to disable it using code as i can't go to s...

disable button Problem in jQuery

I have a form that trigger onsubmit a java script function like the following <form:form commandName="achievment" method="post" id="achievmentForm" enctype="multipart/form-data" onsubmit="disableButtons(this);" cssClass="validatable"> <input id="button1" type="submit" class="button" name="add" onclick="bCancel=false" value="إضافة" />...

Is there a "skip all breakpoints" command in VS(2008) ?

As title, is there a quick way to run through the code once without stopping on breakpoints? ...

Hide/disable Save button in adobe in web browser

Hi Greetings Iam exporting a crsytalreport to pdf using asp.net 2003. On executing the pdf report is opened in the default pdf reader(adobe reader 9 in my case) which is embedded in the browser (ie 8 in my case) I need the report only to be viewed and to take print out and should not be allowed to be saved. Well I need a way to disab...

Disabling a JQGrid dropdown in an edit dialog form

Does anyone know how through either javascript or jquery know how to disable a select (dropdown) control within a Jqgrid edit dialog form? Thanks. ...

Disabling the TextListener on List View in Android

My issue is simple, I am modifying the Contacts app source and I have put a text search box wherein user can enter the name and search for the name, and want to disable the key listener thats on ListView which appears whenever the key is pressed and filters text with a black rectangle. I'd also like to know how to get rid of that black...

Disable backspace in textbox via javascript

I have a textbox which is extended by an Ajax Control Toolkit calendar. I want to make it so that the user cannot edit the textbox and will have to instead use the calendar extender for input. I have managed to block all keys except backspace! This is what I have so far: <asp:TextBox ID="TextBox1" runat="server" onKeyPress="javascrip...

VBA disable/enable shortcut key combinations

I need to enable and disable shortcut key for select all "Ctrl + A". FindKey(BuildKeyCode(wdKeyControl, wdKeyA)).Disable FindKey(BuildKeyCode(wdKeyControl, wdKeyA)).Rebind wdKeyCategoryCommand, ?? What is the command parameter for Ctrl + A?? I cannot find this information anywhere! Also I want to apply it only for my templates: Cus...

disable submit button when javascript is disabled

I have a form which needs javascript to be enabled for validation, is there a way to disable submit button when javascript is disabled and warn user to enable it first ? ...

Java3D disable clicking within PickMouseBehavior

Hey SO When running my @Override public void updateScene(int x, int y) The code the runs takes a little to long, and a user can click on a java3D object before the code has finished running and my RotationInterpolator can't keep up I cant change the Alpha on the RotationInterpolator as this is what the button updates so im looki...