Most voted "textbox" questions
Textbox is a visual component of Web Forms technology, used to display text on an ASPX page, as in a form.
Learn more…94 questions
Sort by count of
-
0
votes1
answer251
viewsHow to pass listview items to text
I have a listview with some items and columns, I would like to know how to pass everything to a textbox, in text form same. Example: The table: ID NOME IDADE 0 Luis 47 1 Juca 69 Na Textbox: 0 Luis…
-
0
votes0
answers44
viewsOnly numbers in Textbox in C# (with Num Lock, WPF Project)
In this command below only the numbers between the quotes (") and the minus (-) of the keyboard work when the user type in a Textbox. I need it to work as well when Num Lock is enabled on the…
-
0
votes1
answer58
viewsDoubt with textbox
I’m trying to create a screen of log using a textbox in C#. At certain points in the programme, I would like to insert a line in this textbox. Take the example of: Linha 1> Realizando inserção..…
-
0
votes3
answers124
viewsTake the name textview in repetition loop
How can I get the textbox inside a For: I have a For that traverses 20 times and I have 20 textbox on my screen, I wonder how I could get all the textbox that contains on name the word "Publishing"…
-
0
votes1
answer129
viewsHow to validate a blank maskedtextbox?
In case the maskedtextboxTEL (00)0000-0000 would return a error provider and would not proceed until it has been completed.
-
0
votes1
answer81
viewsHow to keep scrolling always at the end of the WPF textbox
How can I always keep the scroll at the end of the textbox? I have a textbox, but it receives a lot of content, and when it arrives at the end it does not follow and text that exceeds, is always in…
-
0
votes1
answer193
viewsTyping in the Textbox
I’m doing a project in the visual studio and I need help. I wonder if there is a way or how to make it so that when I type in the textbox,this I typed start at the front regardless of the position…
-
0
votes0
answers83
viewsJavascript - Filling Textbox with numbers, strings and dates in a boleto
I am trying to get a ticket filled automatically when selecting a row from a table. In this case, there are textbox (or text inputs) that must be filled with some values. My function is function…
-
0
votes1
answer84
viewsPHP and Mysql - Putting textboxs into div
I’m trying a kind of reverse engineering with the use of PHP, Javascript and Mysql query. I am creating an event editing form registered in a bank table. In one of the fields, called Presence List,…
-
0
votes1
answer150
viewsHow to get the text of the line where the cursor is positioned?
I have a textbox, and I need to get the content of the line where the cursor is positioned. For example, I am in the third line of the textbox (cursor positioned on it), I would like to get the…
-
0
votes1
answer754
viewsC# - Limit value in Textbox
Hi, I’m wearing C#, and I’m having some trouble using a Textbox. I have a Textbox with this format: 192.168.100.1, to be more specific I’m putting IP numbers. I would like from the second . (100)…
-
0
votes0
answers123
viewsTextbox padding for textbox
I’m creating a project in VBA because I’m new in programming and I’m having difficulties in a part of the project. I have 3 textbox, two are user and password, the other I will load users separated…
-
0
votes1
answer176
viewsHow to restrict formats in c#’s textbox
I’m new to programming and I have a very simple question. I am doing a practical work in college and in 4 textbox should be treated the consistencies of the notes and I wanted to restrict the…
-
0
votes2
answers104
viewstake json data in url and play inside a textbox in c#
Good afternoon how do I take the data of a url that is in json format and play inside my textbox ? thank you
-
0
votes0
answers109
viewsUse user input values in Asp.net c# webforms
I created a form for the user to update the registration data. The user’s "old" data is stored in session variables that fill out the form as soon as the user clicks to update registration. The…
-
0
votes0
answers69
viewsCalculate Values in Gaps in Form
Good afternoon! I’m having doubts about implementing an algorithm that can calculate the heat flow based on the formulas: q=ΔT/Rt ΔT=Temperatureinitial-Temperaturefinal Rt(Thermal…
-
0
votes2
answers36
viewsDelete information from textbox when there is Reload
I am creating an Asp.net web page and I wanted when the site was reloaded or pressed the "F5" key all the data of the textbox to pass the "".
-
0
votes1
answer44
viewsProblem in the XAML Textbox for XAML.Cs
I have a XAML (Cadastro.xaml) where I did one TextBox and a PasswordBox and named them as txtCpf and txtSenha, until then without any problem. When I’m gonna use them on Cadastro.xaml.cs, I can not…
-
0
votes1
answer60
viewsRun Event Textbox c# WPF
I have a Textbox and need that after pressing the right mouse button and clicking paste, it do a check, I tried to use various methods like TxtTexto.PreviewMouseLeftButtonDown+= new…
-
0
votes1
answer178
viewsForce a Sqldatareader result
I have the following method: public ClassCardapio MontaCardapioEdit(string periodo, int tipo) { ClassCardapio cardapio = new ClassCardapio(_stringconexao); _conexao.Open(); var sql = $"SELECT " +…
-
0
votes1
answer83
viewsHow to get whole value of textbox and convert to whole? Javascript
I’m starting with Js on the technician and I’m trying to get the value of the textbox by document.getElementById and then do operations to return the value by alert but without success. Follows…
-
0
votes1
answer271
viewsHow can I show a value in a jTextField when selecting a Jcheckbox at runtime?
private void btCalcularActionPerformed(java.awt.event.ActionEvent evt) { double salario = 0, irrf = 0, inss = 0, valorTotal = 0; FolhaPagamento pagamento = new…
-
0
votes1
answer63
viewsPicking up content from a textbox from another frame
Guys I need a little help, I have an app that I need to pick up the contents of a textbox in another form to put in a homebody. private void PDVForm_Load(object sender, EventArgs e) { var Operador =…
-
0
votes1
answer236
viewsWhat is the difference between Text Box and Input?
I’m making a medium fidelity prototype in the Pencil app and would like to know the difference between a Text Box field and Input and when to use them: Thank you!…
-
0
votes1
answer447
viewsProblems with Backspace in Textbox
I have a project to build a textbox that would only include hours and minutes (With Datetimerpicker, da para fazer tranquilo, however need to click in another field to change data, and I found this…
-
0
votes1
answer94
viewsVisible password
I am building a login in Asp.net and I want to click on the checkbox to show the password to be shown. Design page Asp <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"…
-
0
votes0
answers99
viewsProblem updating object properties with data Binding
I’m trying to update the properties of an object every time a character is added/removed from the textboxes but I’m not getting... I read several topics about databinding and everything seems to be…
-
0
votes1
answer267
viewsHow to disable the textchanged event in the load event in Visual Studio C#?
I have the following problem: I have a function that is called when the button triggers the textchanged event only when I start the program for the first time it calls the textchanged function in…
-
0
votes0
answers31
viewsHow to databind a texbox without assigning it a value?
I have a txtEmail textbox in a Display() method where I assign you an email (via a query) so that I can display it in a user profile (all ok). txtEmail.Text = item["email"].ToString();//devolve…
-
0
votes1
answer129
viewsc# how to store data from a text box from the first run
I’m making a bakcup program in mysql database. I have a screen where or logo with server, user, password and port used in the bank. But I don’t want to keep typing every time I run the program, so I…
-
0
votes0
answers1062
viewsChange data in a spreadsheet through a listbox
I have a form with two text boxes, three command buttons, a listbox and some Abels. The purpose of the form is to list data that is entered in the database (which is the excel spreadsheet itself).…
-
0
votes1
answer190
viewsPass data from one form to another form’s listview
Good afternoon, I am developing a system in c# where I need to find the note number and when clicking add, it passes the information to the main form in listview. Can anyone help me how to develop…
-
0
votes2
answers53
viewscannot with Number,sent the text on the screen
document.querySelector('button').addEventListener('click', calcular) function calcular() { peso = document.getElementById('peso').value peso = peso.replace(",", ".") peso = Number(peso) altura =…
-
0
votes1
answer44
viewsHELP ME If Condition in a Maskedtextbox
Guys, I know this site is very famous because the community is SUPER charitable and kind. Help me with this: I can’t get a Messagebox to show when I leave my Maskedtextbox blank. I formatted it to…
-
-1
votes2
answers9699
viewsHow to get the values of a textbox?
I created an example for you to see. The problem is this. I’m trying to get the value contained in TextBox converting to a string type to be able to use in the MessageBox, but he keeps showing off…
-
-1
votes3
answers186
viewsHow do I trigger confirm the form via enter?
I’m doing a C# program that plays what’s inside the TextBox into the Grid, But I’m only getting it through a button. I want to know how to make the supplier user the first data, press enter, skip to…
-
-1
votes2
answers148
viewsHow to create a "Line Counter" in a texbox
I wish I could count the lines Visual Code, Atom or any such publisher. Follow an example image Details: My project runs in c# form, one of the Forms would have a txtbox with the line counter. I’ll…
-
-1
votes1
answer65
viewsHow to disable hotkeys in a textbox?
I have a kind of control System.Windows.Forms.TextBox populated in my form and it had some validations, as allow me to type only numbers, however I realized that if I use the shortcut key to paste a…
-
-1
votes0
answers4
viewsPass a multiline Textbox to vertical listbox (excel - vba)
Good afternoon guys, I have a textbox for registering production orders, multiline textbox to add up to 10 orders in the same box, but when releasing this data from the textbox to listbox they do…
-
-1
votes1
answer48
viewsHow to select from the end of a textbox
Good afternoon, you guys! My question is simple and a little silly, but it’s making me crack my head. My program has a textbox where a log is saved, at all times new data (characters) are added to…
-
-1
votes3
answers42
viewsc# - Update excel spreadsheet with textbox text
I’m trying to update a spreadsheet data by textbox. I tried the code below and it did not generate any exception, but did not update the spreadsheet. private void button2_Click(object sender,…
-
-2
votes1
answer670
viewsHow to add a Textbox dynamically using VB
How to add a Textbox dynamically, whenever the Userform (List Data Combination or Validation Box) is equal to "Outro (Especificar)", using VB ? I’m lost, I’m new to making macros and forms, using…
-
-2
votes1
answer80
viewsTextbox with preset value, but also editable in c#
I have an application of calculations, and I have the following situations: In a textbox I have a preset value in the codes to perform a calculation with another form that I type the value, for…
-
-2
votes0
answers10
viewsHow to change the border color of a Bunifu_textbox programmatically without it leaving the Bordercolorhover property?
I installed a Bunifu UI extension on my windows form C#program. (I’m a beginner in programming) There are some Bunifu_textboxes to which I wish in the Textchanged event to change its edge to green…