The techniques as demonstrated in the sample shown in the post https://www.tmssoftware.com/site/blog.asp?post=493
This shows how adding controls & position controls is possible at runtime. This is in this demo done at application level though. We have not encapsulated this into a component.
I had forgotten about this! Yes, this looks perfect. In the comments section I realize there wasn't a demo of source code at the time - has this changed since October? Just looking for something to get me pointed in the right direction.
We've not yet included this sample in the demos of the distribution. No decision on this has been made yet.Basically, this is an TTMSFNCCustomControl where mouse & keyboard event handlers manipulate child controls and add the move/size handler elements to the control. The grid is custom painted on the canvas for this TTMSFNCCustomControl .