How Can I Programmatically Clear Selections in a Listbox in LabVIEW?

Updated Jul 4, 2019

Reported In

Software

  • LabVIEW 2018 SP1

Issue Details

I am using a listbox control on my Frontpanel in LabVIEW and need to programmatically clear the selection.

Solution


To clear the selection of a listbox you only have to write the value -1 into it by choosing one of the methods shown on the left site of the picture:
  • Using Local Variables
  • Writing into the Value property¬†