aghering Posted February 11, 2015 Share Posted February 11, 2015 Hello, I have question on how to use GUICtrlSetData in a Do.. Until.. Loop. Local $a= 0, $b= 1, $c= 2 Do GUICtrlSetData('lab_SItemAmount'& $b, $SCA_LeftRow[$a]) GUICtrlSetData('$lab_SItemAmount'& $c, $SCA_RightRow[$a]) $a= $a + 1 $b= $b + 2 $c= $c + 2 Until $a= 5 In the above code, i got the value's i need in array's and i am trying to set the value to labels on my GUI. My labels are named "$lab_SItemAmount1.2.3...10", with even numbers on the right side and uneven numbers on the left side. The problem i am facing is that cannot seem to call my labels variable in the way i'm using above, i have tried many different ways with no luck. Any suggestions? Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now