Problem with BackgroundBitmap?

General TRichView support forum. Please post your questions here
Post Reply
SKinneyx1
Posts: 4
Joined: Sun Feb 05, 2006 6:52 pm

Problem with BackgroundBitmap?

Post by SKinneyx1 »

I'm trying to allow the user to change the BackgroundBitmap while viewing the document but it wont update when I assign the new bitmap image to it. I've tried Invalidate, Format, BeginUpdate..EndUpdate, Background.Bitmap.LoadFromFile, BackgroundBitmap := Nil then BackgroundBitmap := ABitmap, et al.

What am I doing wrong?

thanks.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It should be enough:

rv.BackgroundBitmap := bmp;
rv.Invalidate;
Post Reply