Search code examples
delphicustom-controlsmovable

How to select and move multiple controls at runtime


I have created some custom controls (TCustomControl) in Delphi that I can move them at runtime but only one by one. How I can select two or more of these controls, at runtime again, and move them around all together with the mouse?

Thank you.


Solution

  • I once used a component named handles, that if I remember correctly wasn't too difficult to update to the later versions of Delphi and supported multi-select.