Use Microsoft Rich Text Box Control.
You can change the font, bg and fg color of selected areas.
Liju
> -----Original Message-----
> From: Will [SMTP:w@h...]
> Sent: Thursday, February 08, 2001 10:48 AM
> To: professional vb
> Subject: [pro_vb] Advanced Text Box Features
>
>
> I need to be able to set the font, color and bg color for individual lines
> in a text box. I have used the RTF control and the web browser control for
> this but both come with a lot of overhead since they do so much more than
> what I need. I have looked for a simple dll but haven't found one yet.
>
> 1. If anyone knows of an activeX control or ocx that can perform this
> function I would appreciate hearing about it.
> 2. Is it possible to achieve this functionality in a window using API
> calls?
>
> Thanks,
> Will Jones
>
>