Question If Statement for buttons

kieran82

Member
Joined
Feb 21, 2010
Messages
19
Programming Experience
Beginner
I am doing a bar cash register and I want to use a if statement to see if fosters button and number 1 on the number pad are both pressed then multiply constant by quantity number
 
One thing at a time. To detect if 1 was pressed you can use the KeyUp event, you can store this value and check it later when a button is clicked. To detect if a button is clicked use the Click event.
 
Back
Top