Workbench User Guide : 8. Generating Frames from Predefined Templates : The find_dialog Template : Create a Find Dialog Frame
 
Share this page                  
Create a Find Dialog Frame
You can create a Find dialog frame based on the find_dialog frame template.
To create a frame using the find_dialog frame template
1. On the Develop tab, select the application in which you want to create the frame in the Applications portlet, and then select the header bar of the Components portlet to make it active.
2. Click File, New, User Frame.
The Create User Frame dialog appears.
3. Enter the component name in the Name field (for example, My_Find_Dialog).
4. (Optional) Enter a comment for the component in the Remark field.
5. Select core from the Application list and the find_dialog template from the Template list.
6. Click Create.
The Find/Replace Dialog Assistant appears.
7. Select the dialog style: click either Find dialog or Replace dialog.
The bitmap in the upper left corner of the assistant changes accordingly to display your dialog style selection.
Note:  You can override either dialog style setting when the dialog is opened at runtime. For more information, see How You Can Call a Find Dialog Frame.
8. Click Generate.
The frame is created and displayed in the Frame Editor.
Note:  In the Find/Replace dialog, the Search For and Replace With fields are both displayed, regardless of which default style you select.
9. (Optional) Specify the frame's properties using the Property Inspector.
For more information about using the Property Inspector, see Set Frame Properties.