How to add two nos. using only one text box?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nilesh3
    New Member
    • Nov 2008
    • 5

    How to add two nos. using only one text box?

    I want to add two nos. by using only one text box and 2 command boxes 1st for + and another for =.
  • vdraceil
    New Member
    • Jul 2007
    • 236

    #2
    Yeah..it is possible.
    Prompt the user to enter a number in the text box.
    Extract that into a variable and clear the textbox if the user clicks '+'.
    If the user enters another number and presses '+' add the textbox content to that variable and so on..
    Finally display that variable in your textbox when the user presses '='.

    Comment

    • smartchap
      New Member
      • Dec 2007
      • 236

      #3
      I have already posted answer in other post by you. Please see that.

      Comment

      Working...