|
-
Sep 9th, 2012, 10:49 AM
#1
Thread Starter
Member
[RESOLVED] Calculator idea help
I'm trying to make a really simple calculator, which looks like this:

The user should enter values in the three big textboxes, and between those enter either +, -, x or /. Pressing the button should calculate the answer. Now here's the question, how do i make it take what's in the smaller textboxes and use it in the code? Hard to explain, but let me show you how i was thinking.
Instead of this: richtextbox1.text = val(textbox1.text) * val(textbox1.text) I want to replace the * with what's in the small textboxes, kinda like this: richtextbox1.text = val(textbox1.text) (richtextbox1.text) val(textbox2.text)
thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|