Use the Copy Children dialog box to copy child codes to another code within the same code file. However, you cannot use this feature if the code file has a non-significant structure.
To copy child codes to an existing code:
-
Display the Code view for the code file that you want to update.
-
Click the code whose child codes you want to copy to another code.
-
In the
Codes group on the Edit tab, click
Copy Children.
Note: You can also right click the code whose child codes you want to copy to another code and select
Copy Children on the shortcut menu.
The
Copy child codes from code field in the Copy Children dialog box displays the code that you right-clicked. Cobra will copy child codes from this code to the code that you will select in the
To code field.
-
In the
To code field, enter, or use
to select, the code to which Cobra will copy the child codes.
-
Click
OK in the Copy Children dialog box.
Cobra copies the child codes to the selected code.
Note: You can only copy child codes to a code that does not have its own child codes.