Version 2.2 Written by Phillip Norman Copyright © Phillip Norman nospam.cadd@phillipnorman.com (remove "nospam.") Contributions by Gary Fowler (see below) THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED. March 2006 Comment by the author: "After a flood of questions regarding dcl and lisp in the ADG over a period of weeks I was inspired to write this dialog box and lisp demo. I am NOT a dcl or lisp expert! And I am sure there is more than one way to code for the examples included herewith. So with that said I sincerely hope that this demo will be of use to someone. It has at least been a good learning exercise for me writing it. Also if anyone can be bothered making recommendations for correction of errors or simplifications or improvements they will be very welcome. Regards, Phill. PS Thanks to Gary for his input." Main Features => How to use some common dcl dialog tiles and the lisp to drive them => How to use global and local variables with dialog boxes including an automatic variable generator => How to prepare dialog box defaults using global and local variables => How to make two clusters of radio_buttons behave as one cluster => How to turn tiles on and off based on user input and previous selections => How to close a dialog for user input and then return to the dialog => How to open a second dialog from the first (original code by Gary Fowler) => How to align list items in columns in a list_box (original method by Gary Fowler) => How to logically connect two toggles and the necessary lisp code => How to use the system registry to store dialog box screen location (original method by Gary Fowler) => How to use widgets in dcl like macros in lisp (original method by Gary Fowler) => How to pass arguments or data to lisp macros => How to "set" variable names and values from lists and strings => How to store and read data from text files NEW FEATURES => A new window has been added that shows the code associated with each dialog box button as you click on it. => Minor code adjustments. See lisp file for more version information. Files: dcldemo06 VER 2.2.lsp dcldemo06 VER 2.0.dcl d_CISC_C.txt d_CISC_HS.txt d_CISC_L.txt d_CISC_MC.txt d_CISC_S.txt d_CISC_TS.txt d_CISC_W.txt d_CISC_WWF.txt Installation: Place all files in your AutoCAD support path. ie. C:\Documents and Settings\username\Application Data\Autodesk\ADT 2005\enu\Support Open an AutoCAD drawing. Use the "appload" command to load file dcldemo05 VER 2.2.lsp Enter "ppn_dcldemo" at the command line. Questions, comments, errors and feedback to Phillip Norman: cad@phillipnorman.com