Just trying to get a dialog box to close in ACAD 2015. OpenDCL 8.0.0.5
It will be obvious... but not to me.
Has the syntax changed for this version of OpenDCL?
Thanks for any pointers.
You need to define your event handler *before* you show the form.
Ok... what is an event handler.. where in the help file do I get help defining an event handler?
Previously, you loaded a project and 'showed' the form then closed the form and the dialog disappeared from the screen.
Quote from: RGUS on April 10, 2014, 06:19:31 PM
Ok... what is an event handler.. where in the help file do I get help defining an event handler?
The function c:TEST/Form1/EXIT_BUTTON#OnClicked in your lisp file is an event handler (http://www.opendcl.com/HelpFiles/index.php?page=Usage/AutoLISP.htm). It must be defined *before* you call (dcl-Form-Show). You can look at the OpenDCL samples to see a typical file structure.
Thanks Owen... I'll have to do a bit of study with my code... silly thing is it worked perfectly with ACAD 2014 and the latest previous version of OpenDCL ... but them's the curve balls I guess.