UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the "Acquire Input Data" is stopping Value Change Events in an XControl

I posted this question in the LabVIEW forum but it deals with UI development so I wanted to ask it again in this community.

Here is a link to the question in the LabVIEW forum.

(http://forums.ni.com/t5/LabVIEW/Using-the-quot-Acquire-Input-Data-quot-is-stopping-Value-Change/td-p...)

Any help would be appreciated.  Thank you in advance.

TheQ

Quentin "Q" Alldredge

Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner



0 Kudos
Message 1 of 3
(4,307 Views)

Update:

One idea coming from the Forum was that the window was losing focus.  I think I proved that niether the VI owning the XControl nor the facade VI are losing focus.

Please see the Forum for more information.

--Q

Quentin "Q" Alldredge

Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner



0 Kudos
Message 2 of 3
(3,134 Views)

I'm not saying this is the best solution. You can wait for a mouse down event in your facade. When that happens dynamically call a subVI that takes in a reference for your control. From that pull out the Owning VI reference. Use the Owning VI reference to register for Mouse Up Event on the owning VI (in case the user's mouse falls off the slider). And you can exit it when it does. So you can have that dynamic VI handle whatever other cases you want.

0 Kudos
Message 3 of 3
(3,134 Views)