Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / September 2006

Tip: Looking for answers? Try searching our database.

Changing font colour for part of text box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Malc Payne - 04 Sep 2006 15:58 GMT
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.
John Vinson - 04 Sep 2006 17:28 GMT
>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]
Douglas J. Steele - 04 Sep 2006 17:35 GMT
>>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
[quoted text clipped - 8 lines]
> 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

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

ruralguy - 04 Sep 2006 17:33 GMT
Currently you would need to use a Rich Text Control.  Stephan Lebans has such
a control.
http://www.lebans.com/richtext.htm

>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.

Signature

HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.