- Copy the gpreact.lsp file from the Tutorial\VisualLISP\Lesson6 directory to your MyPath working directory.
- Open the GPath project
(if it is not already open), and choose the Project Properties button
in the gpath project window.
- Add the gpreact.lsp file to your project.
- The gpreact.lsp file can reside anywhere in the order of files between utils.lsp, which must remain first, and gpmain.lsp, which should remain as the last file. Move any files, if necessary, then choose OK.
- Open the gpreact.lsp file by double-clicking on the file name within the gpath project window.
Read through the comments in the file to help you understand what it is doing. Note that all the callback functions are stubbed out; the only functionality they perform is to display alert messages when they are fired.