Author Topic: MText Editor Background Color Can be Changed  (Read 5165 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« on: April 30, 2005, 12:16:11 AM »
I have put together a successful bit of code that allows a user to change the background color of the MText Editor window,  thereby allowing greater contrast and making the text more easily readable. For now I will not post the code, but I hope to port it to a program that runs in the background to allow the user to configure those colors and fonts on the fly.

Through a bit of trickery and brute force I was able to override the settings in both R2002 and R2004 ... I do not have 2005 or 2006 (yet) so I cannot test it on those ...

I will keep you informed of progress....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

MP

  • Seagull
  • Posts: 17488
MText Editor Background Color Can be Changed
« Reply #1 on: April 30, 2005, 08:19:39 AM »
Good work Keith.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

hudster

  • Gator
  • Posts: 2846
MText Editor Background Color Can be Changed
« Reply #2 on: April 30, 2005, 10:23:13 AM »
If you keep doing these great things there is no doubt you'll be the next recipient of the swamp award thingy.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

MP

  • Seagull
  • Posts: 17488
MText Editor Background Color Can be Changed
« Reply #3 on: April 30, 2005, 10:54:17 AM »
Votes.Add Mine;
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9282
MText Editor Background Color Can be Changed
« Reply #4 on: April 30, 2005, 10:59:26 AM »
Keith assemble a "test app" and ill test it on 05 for ya. (If you want) ...Oh and my work has Mechanical building system design as well, if that would make a diff.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--

MP

  • Seagull
  • Posts: 17488
MText Editor Background Color Can be Changed
« Reply #5 on: April 30, 2005, 11:19:15 AM »
Ditto Se7en. I'm running vanilla 2006 at home, I could test it out tomorrow.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

daron

  • Guest
MText Editor Background Color Can be Changed
« Reply #6 on: May 02, 2005, 09:39:08 AM »
Can't help, but would love that proggy.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #7 on: May 02, 2005, 10:31:25 AM »
I'll try and get an alpha posted tonight
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #8 on: May 02, 2005, 10:45:03 PM »
The text portion is not working yet .. but the background is.

http://www.theswamp.org/lilly_pond/keith/MTConfig.exe?nossi=1

Will keep you posted
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9282
MText Editor Background Color Can be Changed
« Reply #9 on: May 02, 2005, 10:51:03 PM »
Ill check it out right away tomorow Keith.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--

MP

  • Seagull
  • Posts: 17488
MText Editor Background Color Can be Changed
« Reply #10 on: May 02, 2005, 10:58:29 PM »
I just looked at 2006. Given the makeover they did I don't think your utility would be required -- the mtext editor now uses the current space background color and cecolor.  Quite dtext like.

Just a messenger Keith.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

DinØsaur

  • Certified Bovine Scat Distributor...I lay it on THICK
  • Needs a day job
  • Posts: 5424
  • But I don't WANT a Day Job
MText Editor Background Color Can be Changed
« Reply #11 on: May 03, 2005, 12:22:14 AM »
I just ran the routine through everything I have.  The background change works as advertised on 2005 and at least its civil and architectural vertical apps including Civil 3D and Revit 7.  It seems to have no effect in 2006 and I don't have access to 2002, 2000 or 14 to test.
This has me excited though, I have never liked the mtext window since they changed it from a plain light grey background with black text for "by layer" color text.
Stephen R. Sherrill,
The DinØsaur
Civil 3D Specialist Emeritus

YAY ME !!!  I made it out alive !

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #12 on: May 03, 2005, 05:29:03 AM »
Quote from: MP
I just looked at 2006. Given the makeover they did I don't think your utility would be required -- the mtext editor now uses the current space background color and cecolor.  Quite dtext like.

Just a messenger Keith.


The background of the MText editor was changed to the background color of the drawing workspace (i.e. modelspace or paperspace) in 2004 (I think).

If it doesn't work with 2006, it is likely because of a code re-write for the mtext editor. I will have to wait until I get 2006 before I explore the reasons why it will not work for 2006 ... if it indeed does not work for 2006 ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

hudster

  • Gator
  • Posts: 2846
MText Editor Background Color Can be Changed
« Reply #13 on: May 03, 2005, 06:26:15 AM »
I'm using this at the moment, very good, but it's changing everything that uses text, not just the mtext editor, i.e when I edit attributes, and the text always coumes out as the layer colour, not what i've specified in the proggy.

It's also changing the background of some stuff in word, outlook etc.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

daron

  • Guest
MText Editor Background Color Can be Changed
« Reply #14 on: May 03, 2005, 08:15:16 AM »
Using 2004. Keith, another sweet proggy. Thank you so much. I'm using a grayish purple color. It only affects red text, but all other color are easier to read than when black.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #15 on: May 03, 2005, 08:55:27 AM »
Just tested the program on A2k and there seems to be an issue. It causes some random crashes when editing MText, I'll have to check into that. I would sugggest that you NOT use it in 2000. I have not been able to recreate the problem in 2002+
Quote
I'm using this at the moment, very good, but it's changing everything that uses text, not just the mtext editor, i.e when I edit attributes, and the text always coumes out as the layer colour, not what i've specified in the proggy.

It's also changing the background of some stuff in word, outlook etc.


I have not been able to recreate those problems. Perhaps some screenshots of the affected programs will allow me to determine what is wrong.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

daron

  • Guest
MText Editor Background Color Can be Changed
« Reply #16 on: May 03, 2005, 09:53:46 AM »
I seem to have forgotten how to get my printscreen button to work, but if you open filezilla you'll see the ?command line? is a different background and doesn't look good. I haven't seen the text or attribute problems though.

hyposmurf

  • Guest
MText Editor Background Color Can be Changed
« Reply #17 on: May 03, 2005, 02:59:32 PM »
I installed the program quickly right at the end of my lunch hour, didnt have CAD2K4 open, but Outlook was and now my address bar and subject line have changed colour to blue. :lol: I'll have a look when Im back in next.How will I explain that,no Mr IT expert I never install any software. :)

daron

  • Guest
MText Editor Background Color Can be Changed
« Reply #18 on: May 03, 2005, 03:03:42 PM »
Just restart your computer. I haven't done so yet, but if it's like the last proggy, you'd need to do something to set it permanent. Give it a whirl. No need to involve the IT dept.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #19 on: May 03, 2005, 03:06:26 PM »
just restart Outlook .. there is no reboot needed .. oh .. and make sure the other proggie is not running
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16726
  • Superior Stupidity at its best
MText Editor Background Color Can be Changed
« Reply #20 on: May 03, 2005, 04:38:28 PM »
Resolved issue with 2000 ... working on issue with other applications ... still no go on the color for the text ... yet ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

tcdan

  • Guest
MText Editor Background Color Can be Changed
« Reply #21 on: June 23, 2005, 02:17:33 PM »
I set the colors using your prog once - and CAD looked great.  THEN, I changed the font/background colors (all this while CAD was open) and when I opened CAD, the colors were the same, but the background color was blinking on and off like a strobe light - strange huh?  I even saved, closed, reopened CAD.  So I changed the colors back to my original color settings - and all is fine.  Hmmm.  Very cool prog though.  Very cool indeed!