LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW

I am making an application and my client requested to create shortcuts for buttons, now there ask is to create same shortcuts for two different buttons. Example they want F2 shortcut for login button, but they also want F2 shortcut for an add button which is on another tab. Now I searched on internet for solving this issue but through Key navigation I can create only one shortcut for one button than I tried to explore and try if I can achieve it using event structure but there also, I could not find anything which I can use and get it done. Now I thought may its programmatically not possible but that also is not the case because my client already has an existing software (LabVIEW) in which this feature is there. My last hope is NI forum.

0 Kudos
Message 1 of 3
(429 Views)

Here is an example technique to do it

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(405 Views)

Please use a reasonable subject for your questions. I can guarantee that every single post here is about LabVIEW, so a subject of "LabVIEW" has zero information about your problem and most will probably not even look at it.

 

It would seem easier to redefine the key bindings as a function of tab state using a small helper loop, independent of the main code. (It seems redefining the key binding automatically removes the old binding).

 

altenbach_2-1708028325174.png

 

 

Message 3 of 3
(364 Views)