Hi all,
I'm trying to figure out how/where to code the ability to concatenate a label based on a button click.
The project I'm working on is a calculator. User inputs number1 and number (my variables) with four buttons - add/subtract/mult/divide - then based on the button click for each, the answer appears in a read only textbox.
This is all working accordingly.
What I want/need is to then have a label "appear" next to the textbox where the answers are displayed. I want the label to pull the input from number1 and number2 with the + - / * sign
Basically user enters 1 in number1 and 2 in number2. When the user hits the add button I want the label to pop up 1 + 2 =
I will then place this next to the box.
Any suggestions? Thanks very much in advance. Also - which sub would i put the code in?
I'm trying to figure out how/where to code the ability to concatenate a label based on a button click.
The project I'm working on is a calculator. User inputs number1 and number (my variables) with four buttons - add/subtract/mult/divide - then based on the button click for each, the answer appears in a read only textbox.
This is all working accordingly.
What I want/need is to then have a label "appear" next to the textbox where the answers are displayed. I want the label to pull the input from number1 and number2 with the + - / * sign
Basically user enters 1 in number1 and 2 in number2. When the user hits the add button I want the label to pop up 1 + 2 =
I will then place this next to the box.
Any suggestions? Thanks very much in advance. Also - which sub would i put the code in?