05-21-2014 02:53 PM
You can set the Listbox.EditPos property in "Listbox.Mouse Down" event, "Listbox.Key Down" event and "Listbox.Value change" event
Additional resources for Listbox events
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/editing_cells_at_run_time/
http://zone.ni.com/reference/en-XX/help/371361K-01/lvprop/multicolumnlistbox_e/
05-22-2014 07:17 AM
Unless I'm missing something that will not fix the arrow navigation. It puts the cell in edit mode (highlighted text etc.), which effectively prevents you from (immediately) navigating with the arrow keys.
The goal at hand is to focus on the listbox so that the user can immediately start navigation (without discovering that the navigation starts off from a different line than the currently selected one).
Bringing the cell into edit mode would a) require the user to press Enter before being able to start navigation, and b) introduces edit mode even in cases where editing is not supposed to be allowed (and hence even visible as a concept for that control).