LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a value change event for the label/caption of an xcontrol?

I am creating an XControl in which I use the label/caption text in a special way.  I know that I can access the value of the caption/label inside the Facade VI easily, however, I need to be able to respond only when the caption/label text is changed.  It seems that a change to the caption/label text ought to trigger an event in the Facade VI, but as far as I can tell this does not happen.  My only solution is to toss that code in to a mouseover event or something and bank on the likelihood of a user mousing over the control after changing the caption/label, but that's certainly a hack.
0 Kudos
Message 1 of 2
(2,249 Views)

Well the label can only be changed when the VI is idle, so just read the label when the Application.state event is triggered.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 2
(2,229 Views)