p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

vbcomponents thread: Rich TextBox BackColor

Message #1 by dbellnier@c... on Tue, 26 Mar 2002 17:00:12
Does anybody know of a way to encode the background color in a Rich 
TextBox.  I have tried using the cb (ColorBackground) RTF code by 
inserting it into the header information and then using a function to read 
the cb value.  It works ok, however the tag value also shows up in the 

My typlical header looks like this, where bc14 is my color value.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS 
Sans Serif;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\f0\fs24 bc14\cf1\b test
\par From: dbellnier, 3/26/02 @ 10:49 am\cf0 
\par }

Any help would be greatly appreciated.


Dick Bellnier

  Return to Index