trichview.support
Re: repaint of richView |
Author |
Message |
mikee |
Posted: 05/12/2002 18:19:43 thank u very much "Sergey Tkachenko" <[email protected]> wrote in message news:[email protected]... > 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" <[email protected]> wrote in message > > news:[email protected]... > > > 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