LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically register for events, example- mouse move?

can somebody plz tell me, how do i make a vi refnum constant a strictly typed. in the example when i created a refnum const. and connect to one of the register for events node, "mouse move" changes" to "event"and cannot get back all the drop down options, shows only few in which mouse move is not present. what is happening here, im puzzled.

 

(comment on block diagram)

This is a strictly typed refnum constant
of type VI.  It registers not-a-refnum of type VI to the Mouse Move event.  This reserves a registration entry, but
nothing is actually registered yet.

 

im guess unless i make it a strictly typed it wont show mouse move but dont know how to make it. why is it necessary to make it a strictly typed.

0 Kudos
Message 1 of 3
(3,337 Views)

I think this is some code from an older version of LabVIEW.

 

You can only select a 'Mouse Move' event on a pane.

 

 

Ton

Message Edited by TCPlomp on 11-11-2009 08:54 AM
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!
0 Kudos
Message 2 of 3
(3,318 Views)

Like TCPlomp said, this should work for you:

 

dynamic reg.png

You can also get a Mouse Move event for "Controls[]" and "Splitters[]" but that doesn't address your needs.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 3
(3,306 Views)