Double Click Events Versus StateChanged Events with Measurement Studio Controls Primary Software: Measurement Studio>>.NET SupportPrimary Software Version: 8.1.1 Primary Software Fixed Version: N/A Secondary Software: Measurement Studio>>.NET Support
Problem: Why do some Measurement Studio controls such as the LED fire two StateChanged events but only one Click event when I double click them? Solution: Measurement Studio controls such as the LED can have several behavior types compared to normal .NET controls like the Button. For instance, if an LED in Control mode is set to to SwitchWhenPressed, the control will change state twice for every double click since each click in the mouse gesture is regarded as an individual press event. Conversely, the LED will register one click event for each set of clicks together in a double click gesture. This is expected behavior as evidenced by the attached example program. Related Links: Attachments:
Report Date: 08/23/2007 Last Updated: 08/25/2007 Document ID: 4CM90DSN |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
