jochynator,
If you wanted to use the "focus" of the listbox, probably the best thing to do would be to keep track of the last set of selected values and the new set of selected values and compare them. There are only a few different cases when an item will have focus and you can add code to accomidate for that. Maybe another alternative to using the focus could be to use two listboxes and the built-in drag and drop functionality to adjust the correct list of datafiles. If you right-click on the listbox you can access the built-in drag and drop settings, which I would highly recommend tinkering with.
Would this work? Let me know if you have questions.
Andy F.
-----------------------------------------------------------------
National Instruments