Jump to content

Recommended Posts

Posted (edited)

Hey guys, got a problem with editbox, the objective here is to increase the value by whatever in the editbox, say 50 (decimal)

$50 = "50"

$editup = GUICtrlCreateInput ("150", 110, 20, 50, 18)
$inc = GUICtrlCreateButton ("increase", 30, 70, 50, 20)
GUICtrlSetOnEvent ($inc, "incr")

Func incr()
$50up = GUICtrlRead ($editup)
$sysvolup = ($50 + $50up)
GUICtrlSetData ($editup, $sysvolup)
EndFunc

EDIT: Wasnt calling the $50up var so i could never add by 50, now is all good.

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...