Questions tagged [enter]

The ENTER/RETURN key on the keyboard.

On computer keyboards, the enter key in most cases causes a command line, window form, or dialog box to operate its default function. This is typically to finish an "entry" and begin the desired process, and is usually an alternative to pressing an OK button.

Source

Wikipedia

882 questions
-2
votes
2 answers

How to send enter command to another exe with c# 4.0 application

I want to send enter command to another application via c# 4.0 win forms. How can i do that ? The commands will be sent inside vmware virtual pc win xp sp3 thank you
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
-2
votes
1 answer

Can view a form, can enter data, but won't post to database

I'm attempting to work on this form, at this time it is showing me my form, but it is not allowing me to enter the information into the database. Now as far as I can tell everything is correct, but I can't be sure. The only thing I can think that is…
Matt Ridge
  • 3,633
  • 16
  • 45
  • 63
-2
votes
1 answer

Function that gets char instantly without pressing enter

I'm new to programming, and I try to program a menu in C++. I want it to be in a while loop, breaking when ESC is pressed, but I want the character to be read instantly without having to press Enter. while (breaker != 27) { //menu based on…
Radek
  • 11
  • 1
-2
votes
3 answers

Keypress Event not woking in my JavaScript Code/

Apologize me as I am a beginner and I am trying to Run my keypress Event but when I press the Enter key it is not responding need help. Enterbtn.addEventListener("keydown",function(event){ if(input.value.length>0 && event.keycode === 13){ …
-2
votes
1 answer

Userinput with enter (Tkinter)

I wanna enter a number in the following code with enter and not with the button. It works with the button but i don't know how to give in the input with pressing enter and not the button def lego(): if userinput.get() == '3': …
Joel S.
  • 64
  • 7
-2
votes
1 answer

KeyBindingApi. Enter doesnt know

I tried to do an Action, when pressing Enter on a Button. System.out.println(KeyStroke.getKeyStroke("ENTER").getKeyCode()); im.put(KeyStroke.getKeyStroke("ESCAPE"),"esc"); im.put(KeyStroke.getKeyStroke("released ESCAPE"),"esc…
Felix Lenz
  • 36
  • 5
-2
votes
1 answer

Why not all of the action button functionality work when using Enter key instead of clicking?

My action button reads a JTextField value and updates that same field with only the digits included in the original value. It also copies the digits to clipboard automatically and makes a JLabel visible, letting the user know it's copied. This label…
elxapinhon
  • 43
  • 1
  • 10
-2
votes
1 answer

How to know which user entered certain data access?

I am currently working on a project for myself and I'm creating a database for an Institute that helps students prepare for grade 12. I have thought about this topic for quite a while and did not have any efficient solution. However, I think if I…
wewelo welo
  • 99
  • 1
  • 6
-2
votes
1 answer

Does the string have at the end?

I have a text input where if the entry is alpha, an ajax routine ensues. If the text entry is numeric I want to avoid the ajax routine and run a different (non-ajax) routine, but ONLY if the Enter key is used. I'm having a rough time trying to…
-2
votes
1 answer

How to fetch data from text field without using any buttons?

user enter's the 5digit number into the text field and without pressing any button it must be refelected on the simulator. I know how to write the data into simulator I just wanted to know how to fetch this user data as soon as he enters 5 digits…
-2
votes
2 answers

How to allow the user to press enter with no iformation without crashing and for it to show incorrect instead of showing an error

How to allow the user to press enter and for it to show incorrect instead of showing an error. When in the program the user can press enter without entering info and the system crashes giving a System.FormatException error in which i have no idea…
-2
votes
1 answer

C++ How check characters in real time with _getch()

i need in my loop get character in realtime and check it by conditions. If user press whatever except enter, program works fine. Can anyone help me ? thanks ! while (read != '\n') { cout << "Enter character:\n"; …
mathew92
  • 43
  • 3
  • 9
-2
votes
3 answers

how to create an Enter event for textbox in wpf xaml code?

I am fresh to wpf,start learning xaml last 3days,when i am creating the enter event for my textbox in xaml code i cont create y? how can i create enter evnet? some events no proble like click,textchanged events.
krishna
  • 11
  • 1
  • 4
-2
votes
1 answer

Batch file to continuously hit enter key

I need a batch file that can continuously hit the enter key over and over. I honestly don't know the first thing about batch files but I am pretty sure this can be done.
user1724668
  • 1
  • 1
  • 1
-3
votes
1 answer

Call a method with a string inside a text box

I'm making a simple guessing game in C# where the computer generate a number between 1-10, and I got both a clickEvent and a KeyPressedEvent (to the Enter key) to "submit" the guess. I'm trying to make it so you can just type "reset" into the text…
jp1955
  • 35
  • 4
1 2 3
58
59