Author Topic: Lisp Alert Box Text Color?  (Read 280 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Water Moccasin
  • Posts: 2100
  • I can't remeber what I already asked! I need help!
Lisp Alert Box Text Color?
« on: November 21, 2017, 12:37:20 pm »
the typical lisp alert box text. Can that be different colors and boldness?

Someone does not like my alerts, saying that do not pop out enough. ideas?
Autodesk Infrastructure Design Suite 2017

Lee Mac

  • Seagull
  • Posts: 11854
  • AutoCAD 2015 Windows 7 London, England
Re: Lisp Alert Box Text Color?
« Reply #1 on: November 21, 2017, 12:43:40 pm »
You could use the popup method of the Shell object.

Or you could create your own DCL dialog and either use an image tile populated with text, or text with fixed_width_font = true.

Master_Shake

  • Swamp Rat
  • Posts: 1290
Re: Lisp Alert Box Text Color?
« Reply #2 on: November 21, 2017, 12:49:47 pm »
I'm confused, the alert window is set to always on top. You cannot get anymore "pop out enough".

MSTG007

  • Water Moccasin
  • Posts: 2100
  • I can't remeber what I already asked! I need help!
Re: Lisp Alert Box Text Color?
« Reply #3 on: November 21, 2017, 12:53:43 pm »
For instance, they were wanting the "OPEN ALL Sheets" to be bold red. so the user would take note.

Something along those lines...

Code: [Select]
(ALERT "OPEN ALL Sheets.\n\n\nAdd Layouts into SheetSet Manager.\n\n\nSheetSet Manager \ Rename and Renumber Sheets.\n\n\nExpress Tools \ File Tools \ Save All Drawings.")
Autodesk Infrastructure Design Suite 2017

Master_Shake

  • Swamp Rat
  • Posts: 1290
Re: Lisp Alert Box Text Color?
« Reply #4 on: November 21, 2017, 02:24:02 pm »
That can easily be done in standard DCL with slides. Check out an oldie but goodie of a website

http://web2.airmail.net/terrycad/Tutorials/MyDialogs.htm

MSTG007

  • Water Moccasin
  • Posts: 2100
  • I can't remeber what I already asked! I need help!
Re: Lisp Alert Box Text Color?
« Reply #5 on: November 21, 2017, 02:28:34 pm »
Thanks guys for your input and help! ill hopefully get close to what im looking for.
Autodesk Infrastructure Design Suite 2017

efernal

  • Newt
  • Posts: 170
Re: Lisp Alert Box Text Color?
« Reply #6 on: November 29, 2017, 08:50:18 am »
Use AutoCAD's acet-ui-message function...

(acet-ui-message "MESSAGE" "TITLE" 48)
(acet-ui-message "MESSAGE" "TITLE" 16)
(acet-ui-message "MESSAGE" "TITLE" 32)
(acet-ui-message "MESSAGE" "TITLE" 52)

etc...
e.fernal