You have a couple problems here, but kudos to you for investigating dynamic events! Playing with LabVIEW like this is how I learned most of what I know.
1. Register the Mouse Up event for the VI, not the Controls[]. I'm not sure why, but it seems that the control on which you Mouse Down does not catch the Mouse Up because the Position property in the Mouse Move event case puts the cursor outside the bounds of the body of the control. Perhaps subtracting a few pixels from the cursor coords before applying them to the Position would work too, but I found that it can be fixed by registering for the Mouse Up event at the VI level.
2. Make sure to wire in the VI reference on both the Mose Move and Mouse Up events inside the Mouse Down event case.
You'll have to re-assign the Mouse Up event case when you change it from the Controls[] source to the VI source. Try it with no peaking, but I've attached my edited version as well.
Have fun,
Dan Press
Certified LabVIEW Architect
PrimeTest AutomationMessage Edited by Photon Dan on 08-16-2006 10:31 AM