What is:
- Code: Select all
tbstring+ = .text
supposed to do?
Append .text at the end of the variable value
let's say I want to create a loop that would change the name of a bunch of buttons according to what the user entered in textboxes. The button are numbered 1 to 15 and the textboxes are numbered 501 to 515
I need to
- Code: Select all
WDCustomScriptText, 1, textbox501.text
for each button, but I chose to make this in a loop so I "build" the name using a string variable
- Code: Select all
tblocator = 500
for 1 to 15
tbstring = textbox
tblocator+ = 1
VAdd,tbstring,tbstring,tblocator
tbstring+ = .text
WDCustomScriptText, for.index, @@tbstring
next
tbstring on the first iteration of the loop will be "textbox501.text", it is I verified, the @@ basically should return the value of textbox501.text rather than the string contained in tbstring which is "textbox501.text".
Somehow it doesn't and I was wondering if that feature was upcoming or if it was already implemented and if it's the case, what am I doing wrong?