|
<< Click to Display Table of Contents >> Manual > Screen Creation Guide > Advanced Editing Functions of Panel Editor > Property Search > Property Search Replace Operation |
Property Search Replace Operation
This article explains the replace operation in the property search function of Panel Editor.
Property search provides the ability to replace property or binding settings with any string.
The replacement operation is performed in the following parts:
![]()
|
Enter the replacement string.
|
|
Specifies the conditions for the replacement process.
You can choose from the following: •Replace entire text... Replaces the entire text set in the target column with the search string. •Replace search string portion... Replaces only the part that matches the search string.
|
|
Replaces the line selected in the search list with the selected line. After the replacement, the selected line remains.
|
|
Replace all lines displayed in the search list at once.
|
|
Replaces the line selected in the search list with only one line, then moves to the next line. This operation is useful when you want to check the lines to be replaced one by one.
|
|
Moves to the next line from the currently selected line in the search list. No replacement is performed.
|
|
Moves from the currently selected line in the search list to the previous line. No replacement is performed.
|
|
Cancels and undoes the replacement.
|
|
Cancels the undo of a replacement (redo).
|
You can also select whether or not to include a line in the replacement by checking the following columns in the search list. Clicking the check mark with the mouse will switch the check between ON/OFF, and unchecking it will exclude it from the replacement process. For example, if the line is unchecked, even if you perform the operation "Replace only one line and move to the next line", the replacement process will not be performed and you will move to the next line.

The following explains how to perform the replace operation.
1.Run a script search.
As an example, we will use the following search criteria:

•Exact match...ON
•Object... Button
•Property name: Focusable
•Property value: T
•Search criteria: Search within the selection form
The search results are displayed in a list. The list shows all button objects placed on Form01 that have Foculable "T".

2.Set the conditions for the replacement process.
Click the icon (red gear) to set the replacement conditions. In this example, we will set it to "Replace entire text."
To avoid unintended consequences, be sure to check the following settings before making any substitutions:

Setting items |
Commentary |
Replace an entire character |
Among the settings displayed in the column (property, binding) to be replaced,Replaces the entire displayed string with the replacement string..
example) If the bind expression is set to "IN:U01.F01.T01", searching for "U01.F01.T01" against the bind column will display all properties that have U01.F01.T01 in the bind expression in the list.
In this state, if you set "Replace entire text" and specify "U01.F01.T03" in Replace Text and perform the replacement, the entire text will be replaced with "U01.F01.T03" as shown below (*Please note that this is not "IN:U01.F01.T03").
|
Replace part of search string |
Among the settings displayed in the column (property, binding) to be replaced,Replaces only the part of the displayed string that matches the search string with the replacement string..
example) If the bind expression is set to "IN:U01.F01.T01", searching for "U01.F01.T01" against the bind column will display all properties that have U01.F01.T01 in the bind expression in the list.
In this state, if you set "Replace search text portion" and specify "U01.F01.T03" in Replace Text and perform the replacement, only the "U01.F01.T01" part will be replaced with "U01.F01.T03", as shown below.
|
3.Replace only one line
To replace only one line, first enter the replacement string in the following section. In this example, enter "F".
And in the search results listBe sure to select the column you want to replace in the row you want to replace., and click the Replace one line action icon. In this example, Property Value
Select the column.

The value in the target row/column was then replaced with "F."

|
Binding settings can also be replaced in a similar way. |
4.Global Replace
To perform a bulk replacement, first enter the replacement string in the following area. In this example, "F" is entered.
And in the search results listMake sure to select the column you want to replace (the row position is optional)Click the Bulk Replace action icon.

The contents of the selected column (in this example, "Property Value") for all rows displayed in the search result list will now be replaced with the specified replacement string (in this example, "F").

5.Cancel (undo) a replacement
To cancel the replacement (revert to the state before replacement), you can undo it by performing the following operations.

This will cancel the replacement process and revert it to its original state.

|
Binding settings can also be replaced globally in a similar way. |
|
You can cancel (undo) a replacement operation only until a search for a different keyword is performed in the property search (i.e., while the replaced item is displayed in the search result list). |