I want to run a script that is going through all the objects on a display and setting the 'caption' properties to variables.. I can easily do that by just hard-coding the text display objects..
For example.. here is my current code:
text1.Caption = "a"
text2.Caption = "a"
text3.Caption = "a"
I want to do something like this..
For varCounter 1 to 3
text+varCounter.Caption = "a"
Next
What is the syntax to use a variable in the object reference?
For example.. here is my current code:
text1.Caption = "a"
text2.Caption = "a"
text3.Caption = "a"
I want to do something like this..
For varCounter 1 to 3
text+varCounter.Caption = "a"
Next
What is the syntax to use a variable in the object reference?
