[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Yes/No Dialog Box
Tip# 2083 By Nick Hofland On 01-Jan-2006
Rated By 1 users Downloaded : 580
Categories : Misc. User Tools, Programmer's Tools, LISP Code Modules
Software type : AutoCAD
Rename File To : Tip2083: yesno.lsp
Subroutine to add a Yes/No dialog box to a LISP routine.

Nick Hofland supplied Yes/No Dialog Box (Tip #2083) for LISP programmers. The dialog box is defined by a simple DCL file that you must place in the AutoCAD search folder for this utility to operate correctly. Load the LSP file and use the function in your coding as (Yes-No "My question"). The function returns T if the answer is Yes, nil otherwise and sets the symbol NUMYN to either 0 for No or 1 for Yes. A handy utility to keep ready for when needed. After all, users love dialog boxes!



Average Rating:

User comments