AdvGroupbox vs VCLStyle

Hi

Put a AdvGroupBox to a form.
Set
- BorderStyle=bsNone
- CaptionPosition:=cpTopCenter.

In design time, everythink ok.
Then set the VCL style to a style.
Run.

BorderStyle and CaptionPosition not correct.

Thanks in advance.

Delphi 10.1.2, TMS CP 8.4.2, Windows 10

This is due to a bug in the base class TGroupBox that doesn't call the method Paint that we override when a VCL style is chosen. So, it falls back to the default appearance of a TGroupBox. Sadly, we haven't found a workaround around this VCL bug.