Code Red > AutoLISP (Vanilla / Visual)
MsgBox in Vlisp
(1/1)
Patrick_35:
Hello
I found this method
--- Code: ---(vla-eval (vlax-get-acad-object) (strcat "MsgBox \"My Message\"" ", " (itoa 48) ", " "\"My title\""))
--- End code ---
to change the usual dialogue box alert
Now, I wish, if it's possible, to recover the value of the buttons as in this example
--- Code: ---(vla-eval (vlax-get-acad-object) (strcat "MsgBox \"My Message\"" ", " (itoa (+ 1 2 16 256)) ", " "\"My title\""))
--- End code ---
Thank's in advance
@+
CAB:
Hello Patrick and welcome to the swamp.
Here are some related threads.
http://www.theswamp.org/index.php?topic=9684.0
http://www.theswamp.org/index.php?topic=10109.msg129546#msg129546
Patrick_35:
Ah yes, very nice :-)
Thank's you very much
And, it's possible with a browser dialog box in vlisp (just for a directory, the same of (acet-ui-pickdir) )
@+
Navigation
[0] Message Index
Go to full version