TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Visual DCL Programming => Topic started by: sumski on January 12, 2008, 06:01:43 PM
-
Hy everyone!!
I created new menu.
Its working properly, I am just wondering something about message window, if anyone could know I will be very appreciative:
How to enter new row in message window?
I have 2 separate phrases who can standalone
menu item: TypeName [Hello](alert "Hello everyone\Hello Santa");;
I inserted backslash and semicolons but it still ask to press Enter lastly (without them I have to press it twice),
I tried with \n but it makes no difference.
Anyone knows solution?
-
Tooltips accept HTML code so you can use the <br> symbol to create a break between lines of text in the tip.
-
Thanks for the answer, but it did not make any change:
menu item- TypeName [Hello](alert "Hello everyone<br>Hello Santa")
(http://www.imagesforme.com/out.php/i16173_ScreenShot002.jpg)
I tried with blankspace before and after <br> but "Hello Santa" did not crossed in next row
-
(alert(strcat "Hellow Santa" "\nHellow Santa"))
or
(alert "Hellow Santa\nI've been bad . . .")
-
Sorry, for some reason I thought you wanted this for an ODCL tooltip ..
-
Seems like the problem is in code. Apparently I need to use a different technique other than an (alert) box.
(alert "Hellow Santa\nI've been bad . . .") would work fine when alert is called from a lisp routine.
I have to use other code, probably from acaddoc.lsp file, but I don"t know how to associate functions from lisp and menu files.