This dialog allows you to access Embed points from the Procedure Properties dialog.
By adding embedded source code to a procedure, you gain powerful customization capability. You can specify or create code to execute at any defined point in the source code. You can write your own code, or use a code template to write the code for you. The Application Generator adds your code to the code it generates, at precisely the point at which you specify.
This dialog lists all the available embed points, as defined by the procedure template.
To see your embedded source code in context, use the Embeditor instead (from this window, press the Source button. From the Application Tree, RIGHT-CLICK on the procedure and choose Source).
Edit Options
The Edit Toolbar Menu (and the edit buttons on the right) allow you to manipulate your embedded source code.
Save and Close | Save your editing session and closes the Embeds dialog |
Cancel | Cancels your editing session and closes the Embeds dialog. |
Save | Saves any changes and keep the Embeds window opened. |
Actions | Opens the Actions dialog for the target template where approproiate. |
Cut (CTRL+X) | Cuts the highlighted embedded source to the clipboard, allowing you to paste it into another embed point in this or any other procedure (including procedures in other applications). |
Copy (CTRL+C) | Copies the highlighted embedded source to the clipboard, allowing you to paste it into another embed point in this or any other procedure (including procedures in other applications). |
Paste (CTRL+V) | Pastes embedded code from the clipboard into the highlighted embed point. |
View Options
This toolbar section allows you to adjust the display to show only what you want to see.
Embed Buttons
Insert (INS) | Opens the Select Embed Type dialog, which allows you to add handwritten source code, call a procedure, and/or choose a code template. |
Properties (ENTER) | Allows you to edit the embedded code. If it is hand written code, then the Text Editor appears. If it's a code template, the prompts dialog for the code template appears. |
Delete (DEL) | Allows you to delete embedded code you previously added. |
Move Up (CTRL+UP) | Moves the embedded code item up above another (modifying the Priority). Each executes in the order they appear at an embed point. |
Move Down (CTRL+DOWN) | Moves the embedded code item down below another (modifying the Priority). Each executes in the order they appear at an embed point. |
Priority | Sets the Priority for the embedded source. The Priority of each block within an embed point controls the execution sequence of the code relative to any other code in the same embed point. Lower priority numbers execute before higher priority numbers.Moving an embed up or down changes its priority. |
Filled button | Press this button to only show embed points that actually have had source code entered into them. |
Source button | Press this button to call the Embeditor, allowing you to see your embedded source in context. |
Expand All | Fully expand the embeds list. |
Contract All | Fully contract the embeds list. |
Expand Filled | Expand only the filled embeds. |
See Also: