04-22-2025 05:28 AM - edited 04-22-2025 05:38 AM
Hi All,
I have a query; I am working on GUI in DIAdem where I'm creating different type of objects and I wanted to check if we can loop through the objects of the GUI and know its type using scripting.
Your needful is much appreciated.
04-22-2025 10:35 AM
If GUI means SUD dialog it could look like this:
dim iCtrl
for iCtrl = 1 to Dialog.Controls.Count
msgbox Dialog.Controls(iCtrl).ObjectType
next
04-23-2025 05:24 AM
Hi,
I tried with your code, and it worked. Thank you so much for your suggestion🙂.