Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Mouse Object Keeps Last State

Primary Software: Lookout
Primary Software Version: 5.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: Lookout Mouse Object Keeps Last State

Solution: The mouse object will keep the value of all states when the mouse becomes disabled. This can lead to confusion if the states are saved when the process is closed. For example, if the mouse button is pressed and the mouse is enabled, the button data member will become true. If the mouse object becomes disabled while the button is pressed the data member will remain true. If you then close and reopen the process file you will notice the mouse button value is still true. Enabling the mouse object does not cause the data member to return to false. This is because the object is event driven and there has not been an event on the mouse button. The attached process can help demonstrate this behaviour.

Related Links:

Attachments:


mousebutton.lks


Report Date: 08/30/2004
Last Updated: 08/31/2004
Document ID: 3CTELUJ4

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit