Workbench User Guide : 5. Creating Basic Frames : Alternative Methods for Creating Frames
 
Share this page                  
Alternative Methods for Creating Frames
You can create a frame from an existing frame in your application or one that is included in your application. One way to do this is to edit the frame you want to copy and then save it with a new name by clicking File, Save As in the Frame Editor. Then you can begin working on your new frame.
Another method is to first create a generic frame template that you can base subsequent frames on. Then, when you create any new frame components, you can simply select this frame template for your template. Your new frame component is created based on this generic frame template.
Generally, the latter method is preferable for developing consistent frame styles and behaviors within your application. New frames have the visual characteristics, properties, and associated 4GL code as defined in the template.
You also can create frames by using templates that are already paired with assistants to create automatically generated frames, as described in Generating Fields from Predefined Templates.
The templates you create can work with or without the Assistant Technology (as discussed in the Programming Guide). The next section provides information on creating your own frame templates.
You can also create setup frames by selecting the "library frame" option in the Create Frame dialog. Create Setup Frames (XREF) provides information about creating setup frames.