Page 1 of 1

Problem with BackgroundBitmap?

Posted: Tue Mar 14, 2006 7:23 pm
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.

Posted: Tue Mar 14, 2006 9:21 pm
by Sergey Tkachenko
It should be enough:

rv.BackgroundBitmap := bmp;
rv.Invalidate;