Changing font colour for part of text box

G

Guest

I have a text box which is being appended from another one. I'd like each
addition to appear in alternate colours! Does anyone know of a way that I can
change the font colour of just a section of a text box? Presumably this would
require some kind of embedded code.
 
J

John Vinson

I have a text box which is being appended from another one. I'd like each
addition to appear in alternate colours! Does anyone know of a way that I can
change the font colour of just a section of a text box? Presumably this would
require some kind of embedded code.

It cannot be done using a simple Access textbox. Instead you'll need a
"Rich Text Format" control - try searching http://www.mvps.org/access
using that as a search term. It will require storing the formatting
information in the text field, making it larger and perhaps harder to
search.

John W. Vinson[MVP]
 
D

Douglas J. Steele

John Vinson said:
It cannot be done using a simple Access textbox. Instead you'll need a
"Rich Text Format" control - try searching http://www.mvps.org/access
using that as a search term. It will require storing the formatting
information in the text field, making it larger and perhaps harder to
search.

Also, for a free ActiveX control that works with Rich Text Format, check out
what Stephen Lebans has at http://www.lebans.com/richtext.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top