At first I thought:
- you have an existing selection
- and you are holding shift
then maybe don't rubber band at all...
But => you can rubber band and add that.
However, if the rubber band stays within a child control then either
- add nothing, as the child was not fully banded
- add that child
- but never add the parent
The issue is something more.
Take a TPanel,
- If you don't hold shift, you select and drag the panel.
- If you hold shift, you don't select the panel (it will be shown selected while the mouse is down, but unselected when the button is released)
And the rubber band seems to have done nothing.
=> Btw the shift rubber band on the panel will select some of the controls that will be in the rubber band area. But not all??
But if you have a button on a panel, and do the shift rubber band stuff on the button, then it selects the panel.....??
You can also ctrl click to rubber band... And then you can e.g. select child elements of the panel by rubber band.
It seems there is a whole lot of oddities