TCheckbox shows black background due to Color = clNone

General TRichView support forum. Please post your questions here
Post Reply
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

TCheckbox shows black background due to Color = clNone

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Assing TRichViewEdit.Color = clWindow.
(or checkbox's ParentColor = False)
Post Reply