Suppose you want to open a display when the mouse is clicked. One way to accomplish this is:
Add a rectangle to a display (From Insert menu | Shapes, select Rectangle ).
Right-click the rectangle and select Commands. The Configure Actions and Commands dialog box appears.
Select the action (mouseClicked).
Double-click the Open Picture Command. The Open Picture Command dialog box appears.
Select the display or URL to open:
To open a display, select the ellipsis button beside the Display Name field, select the display name and click the Open button.
To load a symbol file, select the ellipsis button beside the Symbol File Name field, select the symbol file and click the Open button.
To open a URL, select the Open URL option button and enter the URL you want to open. If you want the URL to open in a new window, select the Open in new window button.
Click OK to save your changes.
Click Close on the Configure Actions and Commands dialog box.
Switch to the run-time environment and click the rectangle. The command you specified executes.