Hmm. Sounds like an interesting project.
The pull downs in the Object Property menus are a bit more complex--they don't list themselves for example. But I think you could get a list using a For Each, and then decide if you want to read that into an array and then into your list, or just into the list directly.
Page 12 of the
Scripting PDF describes DesktopX Enumerators. I had this pointed out to me once, and am thankful as they are extremely useful. We could read the Object.Names into a Combo-Box thusly:
Dim objElem For Each objElem In DesktopX.Objects Control.AddItem objElem.Name Next
|
You'll have to figure out how and when to update the list, probably every time you open it, so that it always has all the latest objects listed.