Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3702 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Just wondering if someone can tell me -- is there an easy way to locate "Named Objects"?   I know you can show buttons, popover buttons and fields with script triggers etc BUT I can't seem to find an easy way to locate a named object without clicking into each object on the layout.

 

Anyone?

 

Thanks.

 

Dom

Posted

Bruce - Thank you.  Always nice to learn something new.  

 

Dom

Posted

I don't see how that function helps find named objects? This has always been a problem for me, so can you elaborate Bruce?

Posted

The function has options to return many details, including the bounds of the object.

 

bounds - returns a list of numeric values, separated by spaces, that describes the placement of the specified object (left-top to right-bottom).

 

From the example:

 

GetLayoutObjectAttribute("CancelButton";"bounds") returns 138 24 391 38 0.

  • Like 1
Posted

This information is in the DDR.  If you are lucky enough to be using Inspector Pro, it is even easier.

 

Go to the Layout Objects section, 

this is a list of all the layout objects in your solution.

if you do a find for any character in the Object Name column, you get a nice list sorted by Layout.

When I figure out how, I will attach an image :)

See attached image

post-53649-0-42628600-1412356099_thumb.p

Jerry

Posted

Thanks, Jerry. Yes, DDR to the rescue. But, if only there was a Find Object feature ala QuickFind. Or Find in Scripts. Or Find in RG. lol.

This topic is 3702 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.