TheSwamp

Code Red => VB(A) => Topic started by: Keith™ on April 30, 2005, 12:16:11 AM

Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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....
Title: MText Editor Background Color Can be Changed
Post by: MP on April 30, 2005, 08:19:39 AM
Good work Keith.
Title: MText Editor Background Color Can be Changed
Post by: hudster 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.
Title: MText Editor Background Color Can be Changed
Post by: MP on April 30, 2005, 10:54:17 AM
Votes.Add Mine;
Title: MText Editor Background Color Can be Changed
Post by: JohnK 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.
Title: MText Editor Background Color Can be Changed
Post by: MP on April 30, 2005, 11:19:15 AM
Ditto Se7en. I'm running vanilla 2006 at home, I could test it out tomorrow.
Title: MText Editor Background Color Can be Changed
Post by: daron on May 02, 2005, 09:39:08 AM
Can't help, but would love that proggy.
Title: MText Editor Background Color Can be Changed
Post by: Keith™ on May 02, 2005, 10:31:25 AM
I'll try and get an alpha posted tonight
Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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
Title: MText Editor Background Color Can be Changed
Post by: JohnK on May 02, 2005, 10:51:03 PM
Ill check it out right away tomorow Keith.
Title: MText Editor Background Color Can be Changed
Post by: MP 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.
Title: MText Editor Background Color Can be Changed
Post by: Dinosaur 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.
Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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 ...
Title: MText Editor Background Color Can be Changed
Post by: hudster 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.
Title: MText Editor Background Color Can be Changed
Post by: daron 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.
Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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.
Title: MText Editor Background Color Can be Changed
Post by: daron 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.
Title: MText Editor Background Color Can be Changed
Post by: hyposmurf 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. :)
Title: MText Editor Background Color Can be Changed
Post by: daron 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.
Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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
Title: MText Editor Background Color Can be Changed
Post by: Keith™ 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 ...
Title: MText Editor Background Color Can be Changed
Post by: tcdan 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!