How to get a list of object on a web page?

Hello all,

Is there a way to get a list of all object names that are on a page, or container or any other space within Xojo?

What I am looking for is a list that I can copy/paste such as:

fldThing1
fldThing2
fldThing3
fldThing4
fldThing5

it would make it much easier when you need to create methods etc.

Thanks,
Tim

Maybe this is what you want?
https://documentation.xojo.com/api/user_interface/web/webpage.html#webpage-controls
or
https://documentation.xojo.com/api/user_interface/web/webpage.html#webpage-objects

Hi AlbertoD

No that doesn’t do it. Think of copy/paste from a text editor. I just want to copy a list from the IDE, then paste where ever I need.

Tim

Not sure I clearly understand your question, but here goes something: copying objects from the navigator in one page lets you paste the objects in another. Same between projects.

edit: from the contextual menu, you can also duplicate an object in the navigator or on the page itself.

hope it helps.

LD

Hi Louis.

Similar to that, but instead of objects, I want the name of the object. Then paste it somewhere (even outside of Xojo…

Tim

I think I am starting to understand.

I don’t think that you can do it consistently. I know that copying properties from a class in the navigator lets you paste the names in notepad++ for example. Same with property names of objects or names of constants. But I have not been able to do this with objects themselves.

Yea, I have been using this IDE for a very very long time. I was hoping against hope.

Thanks for your consideration!
Tim

If you’re saving your projects as text or xml you should be able to parse the source code easily enough to get the list you’re after.

This might be good enough.

Thanks for the feedback all