Hello TMS Support Team,
I have encountered an issue with the TAdvOfficeCheckGroup component in Delphi 13.
I am using this component inside a TFrame and want to assign different font colors to individual checkboxes.
For example:
ckbgStatus.CheckBoxes[0].Font.Color := clGray;
ckbgStatus.CheckBoxes[1].Font.Color := clRed;
ckbgStatus.CheckBoxes[2].Font.Color := clPurple;
ckbgStatus.CheckBoxes[3].Font.Color := clBlue;
ckbgStatus.CheckBoxes[4].Font.Color := clBlack;
TFrame
When setting the colors in the frame constructor, all checkboxes initially appear with black text.
Applying the colors in Loaded or CreateWnd does not resolve the issue.
When applying the colors manually through a button click, everything works correctly.However, resizing the frame causes the checkbox font colors to reset.
Reapplying the colors in the frame's OnResize event fixes the resizing issue, but the colors are still incorrect when the frame is initially displayed.
I have also tried setting ParentFont := False, without success.
TForm (normal dialog)
The checkbox font colors are applied correctly when the form is initially displayed.After resizing the form, all checkbox font colors are reset to black.
Is there a property or recommended method to preserve individual checkbox font colors?
Best regards
V. K.