General information
Category:
Coding, syntax & commands
I have several forms with many objects as below
form1.object1.enabled = .F.
form1.object2.enabled = .F.
form1.object3.enabled = .F.
... etc
I need to enabled these properties using for command
for myObj = 1 to 100 do
"form1.object" +myObj + ".enabled = .T.
endfor
Sometimes a form can have 5 objects, others can have 20, 55 , etc
How can I do to prevent errors with for command when and object does not exist ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only