LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically change key binding

Hello

 

Is there a way to "save" the configuration of "key binding - toggle" of a VI and "load" this configuration into another VI?

 

For example: if I have several VIs (one for each screen resolution) and I decide to set the "enter" key to toggle a button. I would to do this once, in one VI, and then "pass" this "key binding settings" for other VIs, since all of them are EXACTLY the same, the only difference is the size of objects in front panel.

 

Is it possible?

 

Thanks.

 

Dan07.

0 Kudos
Message 1 of 2
(1,116 Views)

For all controls, you have the property Focus Key Binding.  For booleans, you also have the property Toggle Key Binding.  Both are clusters.

 

So, you can take one VI's settings and save it however you wish, and then use those settings to setup the binding in other VIs.

0 Kudos
Message 2 of 2
(1,094 Views)