trichview.com

trichview.support




Re: Help with highliting text


Return to index


Author

Message

Peter

Posted: 12/01/2003 12:06:00


Well if I use it as copied, I get a compile error where it delclars

Busy := False;


with the message


left side cannot be assigned to..


I have changed it back to what you had...but still get the compile error. I

use D6


Sergey Tkachenko <[email protected]> wrote in message

news:[email protected]...

> Did you copy the code without changes? It's important, for example, that

> "Busy" is "const", otherwise infinite recursion (and stack overflow)

occurs.

> This code works for me.

> Please send me a simple project reproducing problem.

>

> > I get a stack overflow as sonn as I type 1 charecter. It pulls up at the

> > line in the RVstyle unit which reads

> >

> >  FTextStyles[StyleNo].Draw(s2, Canvas, StyleNo,

> >                      SpaceBefore, Left, Top, Width, Height, Self,

> DrawState,

> > Printing);

> >

> > If I can't do it I am not fussed. I am simply looking for a way to show

a

> > certain number of chars will be sent in a message and the rest will be

> > stored so maybe I will have to try something else.

>

>





Powered by ABC Amber Outlook Express Converter