I have a GUI that populates the screen with Textboxes every time you scan a barcode.
This particular code fails. How do you add textboxes where the y position changes?
Code: Select all
YPosition = 380 + (%NumberOfScansDone% * 90)
Gui, Add, Text, x300 y%YPosition% w800 h45
Gui, Add, Text, x1130 y%YPosition% w240 h45
Code: Select all
YPosition := 380 + (%NumberOfScansDone% * 90)
Gui, Add, Text, x300 y%YPosition% w800 h45
Gui, Add, Text, x1130 y%YPosition% w240 h45
Code: Select all
Gui, Add, Text, x300 y380 + (%NumberOfScansDone% * 90) w800 h45
Gui, Add, Text, x1130 y380 + (%NumberOfScansDone% * 90) w240 h45