Find and Replace on Page

Recommended Posts


I have one page with components which I write set channel, variables display. All variables looks like ABC01,02,03

I want to copy and paste these page to another and select all component and replace ABC to KLM.

Is there any way to make that?

Share this post

Link to post
Share on other sites

No, other than manually changing it.

I usually use objects in these cases, where the object contains the variables.  The objects are the same class, just instantiated twice and stored in variables, say "ABC" and "KLM".  Then I'd have a third variable called, say "CurrOb".  I'd have all the screen elements reference CurrOb, so CurrOb.V1, CurrOb.v2, etc.  Then I can simply assign whichever I want to currOb, so currOb = ABC or currOb = KLM to switch between the two.  That would eliminate any cutting and pasting.

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