R
Ron
Hello,
I made a vb calculator just a simple one using code like this.
ansmult = txtinput.text * txtinput.text
ansplus = txtinput.text + txtinput.text
but my calculator works like this. I enter in a number say 20 when I
hit the + , *, -, / operator signs, the 20 goes away from the testbox
and I can now choose to enter in another number.
I want to build a calc where If I press buttons 20 * 2 =
my display box will display 20 * 2 = 40
so it will display everything I press not just an answer.
Can anyone explain or give an example of how I would do this?
I made a vb calculator just a simple one using code like this.
ansmult = txtinput.text * txtinput.text
ansplus = txtinput.text + txtinput.text
but my calculator works like this. I enter in a number say 20 when I
hit the + , *, -, / operator signs, the 20 goes away from the testbox
and I can now choose to enter in another number.
I want to build a calc where If I press buttons 20 * 2 =
my display box will display 20 * 2 = 40
so it will display everything I press not just an answer.
Can anyone explain or give an example of how I would do this?