TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on January 10, 2017, 06:40:53 AM
-
With current Doslib 9.02, Win 10, AutoCAD 2017 I have this simple code:
(setq result (dos_msgboxex "Text " "titel" (list "a" "b" "c" "d" "e") 4))
It works fine and reurns the zero-based number of the button, but ...
When I press "Esc", it returns the number of the last button, although it should return "nil or an error" (see Help-file).
Who can confirm and / or solve this behaviour?
-
I ran across this behavior a year or two ago, although I'm not sure if it was the same dialog, and I contacted the maker. I got a response but I don't remember if there was any promise to change it. I agree with you on how it 'should' function.