Hi jhon wick,
I usually use context.subview to do this. context.subview return an object where properties name are sub-control Ids and values are children controls.
o get the list of controlIds, Object. getOwnPropertyNames() can be used.
console.log("context.subview", ${Panel1}.context.subview);
console.log("Object. getOwnPropertyNames", Object. getOwnPropertyNames(${Panel1}.context.subview));
------------------------------
Tan Dao
Ilionx
------------------------------
Original Message:
Sent: Sat April 26, 2025 11:13 AM
From: jhon wick
Subject: retrieve child components from a control
i currently have a panel control with a lot of controls inside it. how can i retrieve the list of all the ControlIds within it, and all controlIds within it and so on?
the documentation is not clear enough (for me). thanks in advance
------------------------------
jhon wick
------------------------------