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?

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.