PDA

Click to See Complete Forum and Search --> : Rich Text Box


FrancisC
Jan 25th, 2000, 07:43 PM
I am displaying some information into a Rich Text Box (I need that to uses colors, font styles...).

Even though I set the ScrollBars property to 3 - rtbBoth at design time, when a line goes beyond the right side of the box, it is clipped and continues on the next line. I need it to carry on beyond and I was expecting a scrollbar to show up at the bottom.

Anyone knows what is going on ?

Thanks for the help.

Crazy D
Jan 25th, 2000, 07:50 PM
I believe it's a bug in VB6, I've had the same.

ChrisJackson
Jan 25th, 2000, 10:26 PM
Hi FrancisC,

In addition to changing the ScrollBars property to 3 - rtbBoth, you also have to supply a value for Right Margin, the property just above Scroll Bars, in order to get the horizontal scroll bar. The scroll bar doesn't appear unless the default value of 0 for this property is changed.

All the best.

Chris