trichview.com

trichview.support




Re: repaint of richView


Return to index


Author

Message

mikee

Posted: 05/12/2002 18:19:43


thank u very much


"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3cde8cc5@support.torry.net...

> So you want to scroll lines with document?

> If yes, FullRedraw=True is not required.

>

> Xdoc = Xclient + RichView.HScrollPos;

> Ydoc = Yclient + RichView.VScrollPos*RichView.VSmallStep

>

>

> > I set FullRedraw := true ;

> > and  draw some lines in RichView.paint .

> > it works well.

> > there is another problem ,but the position is not right .

> > i want to these lines correspond to the doucument

> > now ,it correspond to  the client .

> > for example :

> > canvas.movto(30,40);

> > canvas.lineto(100,100);

> > i think the coordinate is not right .

> > how to  change the coordinate in richViewEdit?

> >

> > "Sergey Tkachenko" <svt@trichview.com> wrote in message

> > news:3cde450b$1@support.torry.net...

> > > May be you'll create a component inherited from TRichView with

overriden

> > > Paint method?

> > > Or you can set background bitmap with desired image.

> > >

> > > (if you want to draw it yourself - assign True to

RichView.FullRedraw -

> > > otherwise part of your image will be scrolled)

> > >

> > >

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter