I would like to be able to place a line dynamically through the user interface of a form or another suitable container and then be able to detect a mousemove /mousedown/mouseup. Can this be done? The intention is to enable a user to interactively connect objects rather as in a flow diagram.

Thanks in advance