LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Quicker way to define event cases

I am trying to quickly make an event case that reacts to mouse clicks on a very large number of different controls.

Ideally I would automatically generate and link an event case to each of the controls by using VI Scripting (not yet supported yes, I know...), but so far I have been unable to find a way to define the events of each case in a script...

However, an alternative would be to manually create one case that reacts to mouse clicks on all the controls. The problem then is that the event editor is so extremely inefficient to work with. You cannot select more than one control and one event at a time: you have to click on the add button, select the next control and event, add again etc. If e.g. it was possible to just select all the controls, the mouse event and voila...doing it manually would be OK.

Is there a hidden way to define events quicker? (or do it in a script;-))

PS. For now I have made a general mouse click handler that reacts to mouse clicks in a given VI, scans through the control positions and finds out if any of the controls were clicked...but I would prefer something more elegant...
0 Kudos
Message 1 of 2
(2,507 Views)
If you select multiple front panel objects the only think you can do is move them all at the same time.

If a change were made to LabVIEW I would rather see a string control that could have multiple text formats.

For instance, I would like to see a string that has some words underlined, or in a different color.
0 Kudos
Message 2 of 2
(2,481 Views)