NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Select all items in the listbox

In the list box, I've to select all items in the list when 'Ctrl+A' was pressed.
How can I capture that event in front panel?

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

What language are you using to write your GUI?  I'm assuming LabVIEW since you mentioned Front Panel.  If this is the case you will need to use an event structure and use a Key down event for This VI.  Then you can look at the Mods used.  From the LabVIEW help: http://zone.ni.com/reference/en-XX/help/371361N-01/lvprop/control_key_down/

There is other information out there on how to use mod keys and vkeys in the event structure if you google around.

 

Next question is what kind of List Box are you referring to?  Is this an actual TestStand list box or a native to LabVIEW list box?  That will change how you select all items.

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,519 Views)