Page 1 of 1

TCheckbox shows black background due to Color = clNone

Posted: Mon Jan 23, 2017 10:06 pm
by jimmaguire
After 10 years or more, our templates using TRichViewEdit started showing a black background, looked like 3d checkbox. I discovered setting the TCheckBox.Color := clWindow solved it.

But Copy/Pasting contents of a table that contain TCheckboxes reverts to the black color and I don't know how to fix that.

Not a huge issue, and its strange that it just started.

Posted: Tue Jan 24, 2017 7:28 am
by Sergey Tkachenko
Assing TRichViewEdit.Color = clWindow.
(or checkbox's ParentColor = False)