In the Delphi 10+ versions one of new introduced VCL components is TRelativePanel, which allows easy layout of controls on the form.
But sometimes without any clear reasons circular dependency starts to occur, while clearly no circular setup was made.
Exact message is 'RelativePanel error: Circular dependency detected. Layout could not complete'.
What is the reason?
Possible hidden reason is in the wrong order in the ControlCollection property of the TRelativePanel, which does not sort controls automatically during layout phase as expected. Controls order in the section must be coordinated to layout dependency order.