I have a custom TLabel that in principle can be attached to any other visual component in the form. The component has a property position which tells where it will be positioned towards the attached control (left, above, etc.). This works fine when the related control is attached, and the component positions itself according to the position property.
Problem is that I can't make the component detect when the related control changes it bounds so it can properly reposition itself. I guess that has to do with WMMove and WMResize. How can I do for the related control to notify the TLabel that any of the bounds properties has changed?