List Box

  • Thread starter Thread starter Carlo
  • Start date Start date
C

Carlo

I am trying to code a program which when a person enters values in a
text box the program should wait for a + or a - to be entered before
adding the number to a list box. How do I code it so that the program
checks each entry? (the + or - should be the trigger for lstList.Items.Add)
Thanks
 
* (e-mail address removed) (Carlo) scripsit:
I am trying to code a program which when a person enters values in a
text box the program should wait for a + or a - to be entered before
adding the number to a list box. How do I code it so that the program
checks each entry? (the + or - should be the trigger for lstList.Items.Add)

Have a look at the textbox's 'KeyPress' event.
 
Back
Top