I want to get a list of existing objects (in my case they are non-visual objects) which are created through CreateObject() during runtime. So, I can loop through the list and retrieve the value of all the properties.
You can use LIST OBJECTS TO FILE MyObjs.TXT.
If you use some sort of standard naming convention like prefacing your objects with 'o', you can limit it to only the ones you create:
LIST OBJECTS LIKE o* TO FILE MyObjs.TXT.
From there, you can parse the file and loop through the object using something like:
FOR EACH item IN oMyObject.Controls
?item.name
NEXT
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.