Jump to content

Search the Community

Showing results for tags 'inputboxes'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. This probably has a simple solution, but I cannot figure it out. First here is the code: #include #include #include #include #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("", 234, 58, 192, 124) $FIRST = GUICtrlCreateLabel("First", 8, 16, 23, 17) $SECOND = GUICtrlCreateLabel("Second", 104, 15, 41, 17) $1st=GUICtrlCreateInput("", 36, 12, 57, 21) $2nd=GUICtrlCreateInput("", 150, 12, 57, 21) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### $FIRST1=GUICtrlRead($1st) $SECOND2=GUICtrlRead($2nd) if $FIRST1<>"" Then $SECOND2=$FIRST1+$SECOND2 EndIf While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd What I want to do is, when I put a number in the First inputbox, the Second inputbox automatically adds it to its total. Example: First: I put in the number 6 Second: It already has the number 8 in it I want the Second to automatically update to 14. Any help is greatly appreciated.
×
×
  • Create New...