You can copy controls within a DataWindow object and to other DataWindow objects. All properties of the controls are copied.
To copy a control in a DataWindow object:
Select the control.
Select Edit>Copy from the menu bar.
The control is copied to a private PowerBuilder clipboard.
Copy (paste) the control to the same DataWindow object or to another one:
To copy the control within the same DataWindow object, select Edit>Paste from the menu bar.
To copy the control to another DataWindow object, open the desired DataWindow object and paste the control.
PowerBuilder pastes the control at the same location as in the source DataWindow object. If you are pasting into the same DataWindow object, you should move the pasted control so it does not cover the original control. PowerBuilder displays a message box if the control you are pasting is not valid in the destination DataWindow object.