From: emin on
Hi Jorge,

I think the problem can be solved using a Global Flag to alternate
both commands. First click starts a process and disables itself.
Second sequence of clicks starts second process and anable first one.
Doing so Click and DoubleClick can control independently both
processes. An icon on the caption could show what process is running.
HTH

Regards
Ernesto Maffezzini