Page 1 of 1

Error/Alert box

Posted: Mon Sep 07, 2020 9:34 am
by sln8458
I'm trying to add an Alert/Error to my lisp file, but I am not getting what I expect!!

Code: Select all

   (alert (strcat "\nOOPS drawing name <" dwg "> NOT FOUND in support file search path."))
The Alert box does open, but after the main dialogue has been closed and then re-opened.
I would prefer it to open while the main dialogue is open, is that possible?
Line 783 in attached file, which is still work in progress :)

Any suggestions?

Re: Error/Alert box

Posted: Mon Sep 07, 2020 8:44 pm
by QuanNguyen
The type of your expected is "modeless" dialog, while the LISP dialog type is "modal" dialog.
Try to use VBA or .NET instead of.

Re: Error/Alert box

Posted: Tue Sep 08, 2020 1:18 am
by sln8458
OK, thanks