sometimes it becomes gray...

General TRichView support forum. Please post your questions here
Post Reply
elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

sometimes it becomes gray...

Post by elGringo » Sat Jul 15, 2017 6:07 am

hi, strange behaviour of rve, doing simple program for testing
https://yadi.sk/i/0awXA0sN3L5Wk2

appears when destroy and create class with rve in runtime

how to repaint to white again?

Regards, Stainslav

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

Re: sometimes it becomes gray...

Post by elGringo » Sat Jul 15, 2017 6:21 am

don't know but when i change manually color of rve through rvActionBackground1 it becomes white
how to change it to white from code?
it must be some bug

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

Re: sometimes it becomes gray...

Post by elGringo » Sat Jul 15, 2017 6:49 am

Ok, solved through manually setting to white

Code: Select all

    
             rve.BackgroundStyle:=bsNoBitmap;
             rve.Color:=clWhite;
             rve.Format;
             

Post Reply