LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox user scrolling problem.

I am trying to allow a user to scroll through a very large list box. When a list box entry is highlighted or selected the user can't scroll away from that entry index because the list box recenters that entry when it goes out of sight. Is there a setting I can change so the listbox does not center on the selected line?
0 Kudos
Message 1 of 3
(3,097 Views)
Hello Matt,

Could you give me more details about this problem? I'm trying to replicate it here and I must be missing something because I'm able to scroll away with no problem. Are you setting the selection in some sort of loop or timer?

Keep me posted!

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(3,097 Views)
Sorry, I realized I had left out info after I posted my question.

Yes it is on a timer. The timer keeps the selection on the last index so it gives the appearance of a text box. I disable the timer when I want to scroll. Keep in mind that information is being added to the listbox the entire time. The only way to scroll is to hold the left click and use the scroll provided on the mouse. When info is not being added to the list box it works fine. Let me know what you think.

matt
0 Kudos
Message 3 of 3
(3,097 Views)