Sign in to follow this  
capstone

Component Name in Quick Sequence

Recommended Posts

Hey again,

So in the quick sequence in a symbol component's properties, is there a way to retrieve the "Component Name" and use it in the sequence?? (like is there an existing variable that holds it?)

Since I need to copy 500 of the same component on a page, I'm trying to write a quick sequence (Action) which is the same for all of them, and that I won't have to go to every single one of them to change the code. I could only assign component's names and have it working based on their names.

Thanks!

Share this post


Link to post
Share on other sites

No, but you don't need it. The quick sequence runs in the scope of the component itself, so properties variables are actually local. So, if you normally did component.mycomponent.backcolor, you could just use backcolor in the quick sequence to access that component's backcolor property.

Share this post


Link to post
Share on other sites

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
Sign in to follow this