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

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2598
  • 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?
Civil3D 2020

Lee Mac

  • Seagull
  • Posts: 12906
  • 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.

ChrisCarlson

  • Guest
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

  • Gator
  • Posts: 2598
  • 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.")
Civil3D 2020

ChrisCarlson

  • Guest
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

  • Gator
  • Posts: 2598
  • 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.
Civil3D 2020

efernal

  • Bull Frog
  • Posts: 206
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