Top "Textbox" questions

A textbox is a graphical user interface element which allows for simple input text, usually only a single line of text.

Making a WinForms TextBox behave like your browser's address bar

When a C# WinForms textbox receives focus, I want it to behave like your browser's address bar. To see what …

.net winforms user-interface textbox
Get current cursor position in a textbox

I need a code to find current position of cursor in a textbox/textarea. It should work with chrome and …

javascript firefox textbox cursor
What is a reasonable length limit on person "Name" fields?

I have a simple webform that will allow unauthenticated users to input their information, including name. I gave the name …

sql html textbox
Set focus on TextBox in WPF from view model

I have a TextBox and a Button in my view. Now I am checking a condition upon button click and …

c# wpf xaml mvvm textbox
Any way to make a WPF textblock selectable?

How to allow TextBlock's text to be selectable? I tried to get it to work by displaying the text using …

wpf xaml textbox textblock
How can I make a TextBox be a "password box" and display stars when using MVVM?

How can I do this in XAML: PSEUDO-CODE: <TextBox Text="{Binding Password}" Type="Password"/> so that the user …

c# wpf xaml mvvm textbox
C#: How to make pressing enter in a text box trigger a button, yet still allow shortcuts such as "Ctrl+A" to get through?

Sorry for the long title, but I couldn't think of another way to put it. I have this: private void …

c# textbox submit keydown enter
What is the correct value for the disabled attribute?

What is the correct value for the disabled attribute for a textbox or textarea? I've seen the following used before: &…

html textbox textarea
How can I force input to uppercase in an ASP.NET textbox?

I'm writing an ASP.NET application. I have a textbox on a webform, and I want to force whatever the …

javascript asp.net html textbox uppercase
How can I add a hint text to WPF textbox?

For example, Facebook has a "Search" hint text in the Search text box when the textbox is empty. How to …

.net wpf user-interface textbox