trichview.com

trichview.support




Re: change a picture inside richview


Return to index


Author

Message

Roberto

Posted: 11/15/2004 20:20:50


the ideal will be have a method as this:


TRichView.InvalidateRect(Rect)

and a flag ON OFF to avoid the automatic repainting of all the richview if I

change a image.


Example now is:

-> TPicture(AItemInsideRichview).Assign(ANewBitmap) -> the richview

repaint/format/invalidate all.


I like:

->AutoInvalidateAll:=False;

->TPicture(AItemInsideRichview).Assign(ANewBitmap)

->TRichView.InvalidateRect(RECT)

->AutoInvalidateAll:=True;


Kind Sergey, can you made this lil patch?

I think can be easy done by you, because I see that selection has already

map X,Y of objects to change.


Thank you.


Best regards.


"Roberto" <robertoNOSPAM@dellapasqua.com> wrote in message

news:4198e063@support.torry.net...

> Hi all,

>

> please can somebody can tell me if is possible do a trick inside richview?

>

> I like update a picture inside a richview without invalidate all richview.

>

> I explain:

>

> 1) I put a image inside richview

> 2) I rotate pictures inside richview

> 3) if I have many pictures and change the last picture only, still

richview

> invalidate redraw all things over it

>

> I have tried invalidaterect over the form and the trect to change, but

still

> it invalidate all, repaint all.

>

> Because I did cpu consuming drawing, I need the capability to be able to

> change only 1 picture.

>

> Example: richview has 100 images, I want change dinamically one of these,

> then richview internally repaint all.

>

> PLEASE HELP ME

>

> Roberto

>

>





Powered by ABC Amber Outlook Express Converter