textbox Questions

2

I have a single line textbox. I want to with jquery convert it to multiline but control how many lines that are added to it. I want to also be able to limit the number of characters on each line. ...
Acidulate asked 25/8, 2010 at 18:23

4

Solved

In my program I have a user control that displays data on a window using a content presenter. I would like to simply set the cursor focus on a certain textBox in my window at startup. Usually I w...
Nonoccurrence asked 17/10, 2013 at 18:8

4

Solved

I am trying to add an "KeyPress" event in a textbox (WinForm) this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(CheckKeys); and here's inside the 'CheckKeys': private void...
Shilling asked 3/4, 2010 at 12:58

4

Solved

So i basically have this ListView and i would like to press Tab and iterate through my TreeViewItems (preferrably only my TextBoxes) <ListView> <ListView.View> <GridView> <...
Nativity asked 11/8, 2011 at 1:25

9

Solved

I'm using Visual Studio 2010 with C#. Is there a concept in Windows Forms development of somehow linking a label with is text box? Something so that they move together as a unit? In the ASP.NET wor...
Althaalthea asked 19/1, 2011 at 1:12

15

Solved

How do I limit or restrict the user to only enter a maximum of five characters in the textbox? Below is the input field as part of my form: <input type="text" id="sessionNo" name="sessionNum" ...
Eliseo asked 17/12, 2011 at 14:26

9

Solved

Is there way to speed up displaying a lot of text in a winforms textbox? My application reads a file (which can be as large as 20MB) and then displays it to a textbox (TextBoxX.Text = fileText;). ...
Lindner asked 9/12, 2010 at 12:11

18

Solved

How can I make a TextBox only accept alphabetic characters with spaces?
Agglomerate asked 30/11, 2011 at 6:14

4

Solved

I wanna change the number of the TextBox when The Mouse Scrolls. I have a Scroll TextBox But I Don't wanna use that. Is There any Event related to this? Should I write an TextBox Event? If yes, How...
Neuropathy asked 31/10, 2014 at 9:53

21

Solved

I need to remove the focus from several TextBoxes. I tried using: textBox1.Focused = false; Its ReadOnly property value is true. I then tried setting the focus on the form, so as to remove it f...
Callihan asked 16/7, 2009 at 20:56

7

Solved

I don't know WPF and am now learning it. I was looking for rounded corners TextBox in WPF. So I searched Google and found a piece of XAML : <!–Rounded Corner TextBoxes–> <ControlTemplate...
Feeley asked 24/1, 2011 at 7:57

10

Solved

How can I do this in XAML: PSEUDO-CODE: <TextBox Text="{Binding Password}" Type="Password"/> so that the user sees stars or dots when he is typing in the password. I've tried various exa...
Eartha asked 13/7, 2009 at 13:58

3

Solved

I'm new to Qt, and just want to ask. What should I use to make a text box? Thanks.
Savino asked 8/4, 2011 at 8:7

12

Is there any way to disable cursor in textbox without setting property Enable to false? I was trying to use ReadOnly property but despite the fact that I can't write in textbox, the cursor appears ...
Neodymium asked 16/9, 2010 at 21:28

13

Solved

The default databinding on TextBox is TwoWay and it commits the text to the property only when TextBox lost its focus. Is there any easy XAML way to make the databinding happen when I press the En...
Presa asked 18/2, 2009 at 22:44

35

Solved

How can I put some text into a TextBox which will be removed automatically when the user types something in it?
Blast asked 7/5, 2009 at 10:42

0

This formula is great Limit the number of words in a response with a regular expression It works great in English But probably not so good in Hebrew Is there anything that should be changed? I ente...
Agglutinogen asked 24/1, 2024 at 11:29

11

Solved

What is the recommended technique for interactively validating content in a tkinter Entry widget? I've read the posts about using validate=True and validatecommand=command, and it appears that the...
Loughlin asked 10/11, 2010 at 1:24

3

Solved

I have a TextBox named textbox1 and a Button named button1. When I click on button1 I want to browse my files to search only for image files (type jpg, png, bmp...). And when I select an image file...
Allegorist asked 25/4, 2012 at 12:2

5

How can I scroll to a specified line in a WinForms TextBox using C#? Thanks
Trypanosome asked 11/4, 2009 at 7:6

4

Solved

In my UserForm, I want to set a default value for my TextBox, that will highlight when focused upon. Private Sub UserForm_Initialize() NameTextBox.Value = "Your Name Here" NameTextBox.SetFocus ...
Osteopathy asked 15/1, 2014 at 4:11

10

Solved

How to set the focus on an TextBox element in WPF I have this code: txtCompanyID.Focusable = true; txtCompanyID.Focus(); ...but it is not working. Any idea?
Kidwell asked 28/8, 2009 at 6:44

4

Solved

I need to adjust height of the textbox so it is suitable for touchscreen. I understand people recommend Multiline = "true" but if I do that, text inside of the box is justified with top which is n...
Outstay asked 10/4, 2012 at 15:5

3

Solved

By default, <input type="search" /> renders like a "native" search field on Mac OS X (rounded corners, clear button, etc.). I want to completely remove this custom styling so that the input l...
Fleming asked 23/2, 2012 at 21:23

4

I'm trying to make a number input. I've made so my textbox only accepts numbers via this code: function isNumber(evt) { evt = (evt) ? evt : window.event; var charCode = (evt.which) ? evt.which :...
Carley asked 19/5, 2013 at 16:49

© 2022 - 2025 — McMap. All rights reserved.