QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I disable pasting into a TextBox?

TextBox - Windows Forms FAQs
How do I prevent the user from being able to paste from the clipboard into a TextBox, e.g., through Ctrl+V and the context menu? First set the ContextMenu property of the TextBox to a dummy, empty ContextMenu instance. This will prevent the default context...

How do I disable the right-click context menu in a TextBox?

TextBox - Windows Forms FAQs
You can set the ContextMenu property of the TextBox to a dummy, empty ContextMenu instance. Contributed from George Shepherd's Windows Forms FAQ

How do I disable the default context menu of a textbox?

Windows Forms FAQ - Windows Forms Menus
To prevent the default context menu of a TextBox from showing up, assign a empty context menu as shown below:

How do I disable the KCC?

Environment settings set by a batch file are not working.
In 'Q. How does replication work intra-site in Windows 2000?' we saw how the KCC automatically creates and maintains the connection objects for intra and inter-site replication however these can be manually maintained if you wish by disabling the KCC, this is NOT recommended! Enter the DNS name of a domain controller, leave the port as 389 (LDAP) and make sure the connectionless option is clear. Click OK Some text will display in the right hand pane. Now select bind from the Connection menu.

How to disable it?

UnrealIrcd FAQ
Just remove the 'x' in set::modes-on-connect, then users will not be set +x automatically and thus will not be cloaked. Option 2: fully deny users to be cloaked If you don't even want users to be cloaked when they want themselves to, in other words: prevent users from setting themselves +x.

How do I disable Kaleidoscope?

Frequently Asked Questions
To disable Kaleidoscope, move the Kaleidoscope file out of the Control Panels folder, either by dragging it out manually or by disabling it with your Extensions Manager, and restart your Macintosh. If you drag Kaleidoscope to the trash, you must restart first before emptying the trash; otherwise the Finder will complain that the file is still in use.

How can I disable the subtitles?

Answers to Frequently Asked Questions
You should see a green arrow shaped icon in your systemtray (right-bottom of your screen). That is DirectVobSub. Right-click on that icon to enable or disable the subtitles.

How do I bind a TextBox to a nested relation?

TextBox - Windows Forms FAQs
Say you have a Parent table related to a Child table related to a GrandChildTable, and you want to bind a TextBox to a column in the GrandChild table. To do this you have to have nested relations defined, and you use this nesting to create the DataMember...

How do I support an overwrite mode in a TextBox?

TextBox - Windows Forms FAQs
You can handle the textbox's KeyPress event and if you want the keypress to be an overwrite, just select the current character so the keypress will replace it. The attached sample has a derived textbox that has an OverWrite property and a right-click...

How do restrict the characters that a TextBox will accept?

TextBox - Windows Forms FAQs
You can handle the textbox's KeyPress event and if the char passed in is not acceptable, mark the events argument as showing the character has been handled. Below is a derived TextBox that only accepts digits (and control characters such as backspace... You can do this by deriving the TextBox, overriding the WndProc method and ignoring these mouse down messages.

How can I use a TextBox to enter a password?

TextBox - Windows Forms FAQs
Set the TextBox.PasswordChar property. textBox1.PasswordChar = '\u25CF'; Contributed from George Shepherd's Windows Forms FAQ I have a delete key shortcut for my main menu. When my textbox is being edited, pressing delete activates this menu items instead of being processed by the TextBox. How can I get my TextBox to handle this delete? Subclass the TextBox and override its...

How can I see all of the charts that you offer without first pasting my data?

Free Charts Generated from your Google Adsense Reports
If you would like to explore all of our charts before pasting your data, we have created a random AdSense data set that you can use to paste into the box on the homepage. The data in the random data set is completely fabricated and any resemblance of the data to actual Google AdSense results data is purely coincidental.

How do I specify the text color of a read-only or disabled TextBox?

TextBox - Windows Forms FAQs
When I set a TextBox to Readonly or set Enabled to false, the text color is gray. How can I force it to be the color specified in the ForeColor property of the TextBox? You can download a VB.NET sample. Override the OnPaint event of the TextBox. For example...

How do I format numbers, dates and currencies in a TextBox?

TextBox - Windows Forms FAQs
Each type has a ToString method that can be used to perform formatting. Also, you can use the String.Format method to format things as well. To format dates, use the ToString member of DateTime. You may want to use the InvariantInfo setting to get culture...

How do I set several lines into a multi-line TextBox?

TextBox - Windows Forms FAQs
There are several of ways to do this. Here are a few: 1) Insert a carriage return, linefeed combination, "\r\n", between lines of text. textBox1.Text = "This is line 1.\r\nThis is line 2"; 2) Use the Environment.NewLine property. This...

How do I support browsing for a text file and reading it into a TextBox?

TextBox - Windows Forms FAQs
You use the Frameworks OpenFileDialog to implement this functionailty. using System.Text; using System.IO; private void button1_Click( object sender, EventArgs e ) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Title = "Open text file" ; dlg...

How do I add ActiveTextBox capabilities to a textbox?

AbsoluteWay.com : ActiveTextBox : FAQ
Select New ActiveTextBox from Operations menu. In a window that will show up left-click the Finder Tool and point to the needed textbox while holding left mouse button down (in other words drag the Finder Tool over a textbox) If the window class of a textbox is registered with ActiveTextBox (see next question), the cursor changes it's shape and color. Release the left mouse button. Press OK in the New ActiveTextBox window. Enter the description of this textbox and press OK.

How do I clear the history from the textbox dropdowns?

SMSToolbar - FAQ
The SMSToolbar keeps a history of the phone numbers you text to and the messages you sent. You can see a list of these by accessing the dropdown on the textbox you are interest in. To remove these from your PC: In the section General Options, uncheck the "Keep a history of typed text in the drop-down lists" checkbox.

Q3.7.1: How can I turn off Mouse pasting?

Frequently asked questions about XEmacs: Customization
Here is an alternative binding, whereby the middle mouse button selects (but does not cut) the expression under the mouse. Clicking middle on a left or right paren will select to the matching one. Note that you can use define-key or global-set-key. defun mouse-set-point-and-select (event) "Sets the point at the mouse location, then marks following form" (interactive "@e") (mouse-set-point event) (mark-sexp 1)) (define-key global-map [button2] 'mouse-set-point-and-select)

How do I disable site link transitivity?

Environment settings set by a batch file are not working.
By default all site links are bridged together making them all transitive in nature so the KCC (Knowledge Consistency Checker) can create connection objects between any domain controllers. Its possible to disable this site link transitivity and then manually bridge selected site links giving you more control.

Explore Other Topics

How long does it take for my body to replace the blood I donated?
How do I prepare for a Brazilian Wax?
Can I convert my gas fireplace into wood burning?
How do I determine the polarity on an electrolytic capacitor?
Can I connect my PSP to my PC?
What is RTS Threshold?
What should one eat for a healthy and glowing skin?
Why are my nails so white and dry looking after I take my polish off?
What are your charges to perform NACE TM 0284 tests?
What is the difference between a "C" and "S" Corporation?
What is an ideal blood glucose level?
Q My foreskin is too tight to retract over the glanspenis in the flaccid or erect position... ?
Can I develop commercial applications using the Google SOAP Search API?
More Questions >>

© Copyright 2007-2009 QueryCAT
About • Webmasters • Contact