Anyone good at Delphi graphics?

I suppose this is a minor problem but still a bottleneck to me. How can
I create a moving line to view where the right position of a control
will show up when the user resize it? The result will be the same as
when You resize your current active window (i.e. a gray line as wide as
the control).

Please reply by e-mail