Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4

Thread: help>>>>>>code

  1. #1
    Join Date
    Aug 2006
    Posts
    34

    Grin help>>>>>>code

    help>>>>>>code




  2. #2
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Put this in the Button object's On Click area.

    You may need to change out the Input names if you changed them (ie. "Input1")

    Now, I hope I free-hand typed that right. I did not have AMS open.

    Code:
    Input.GetText("Input1", result1)
    Input.GetText("Input2", result2)
    
    answer = result1 + result2
    
    Input.SetText("Input3", answer.."")
    Note: you should "bulletproof" that code. Making sure that there are numbers entered and say not letters, etc. etc.
    Intrigued

  3. #3
    Join Date
    Jun 2004
    Posts
    113
    result1 = Input.GetText("Input1");
    result2 = Input.GetText("Input2");
    Input.SetText("Input3", result1+result2);



    -------------use the above code on your button-------



    fist box is caled Input1
    second box is called Input2
    third box is called Input3

    when you press the button the text from box 1 and box 2 are added and displayed in box 3

    ------------

    oooops sorry Intrigued - we must have posted at the same time - lol - well apart from you being a few seconds faster..
    Last edited by mrdude; 08-10-2006 at 05:33 PM.

  4. #4
    Join Date
    Aug 2006
    Posts
    34
    Thank you Intrigued





    Thank you mrdude


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts