How to show a border around a groupbox when you drag something on it ?

following these discussions :

there are examples given to mimic the highlight of a drop element passing on a Canvas.

how can I do it for dropping on a Groupbox ? (which does not have a paint event …)
(other than hiding a canvas of the same size behind the groupbox)


The canvas underneath seems to be the way to go.