Jr_Cigar Posted November 15, 2008 Report Share Posted November 15, 2008 I am trying to design either a Table or a MultiColumn List Box that I can use the Mouse Wheel to select without holding down either the Shift Key or the Ctrl Key. Has any one found a way to do this in LabVIEW 7.1? Quote Link to comment
Yair Posted November 16, 2008 Report Share Posted November 16, 2008 I can't say I understand how you would use the wheel to select, but you can read the scroll wheel information with the mouse input VIs that ship with LabVIEW. There should be an example somewhere here which shows how to use it to scroll a listbox. I've done multiple selection by simulating a click on ctrl when the user enters a listbox and releasing the click when the user leaves by using the Mouse Enter and Mouse Leave events for the control. The actual keyboard simulation was done using a simple call to the Windows API and there are many VIs both here and in the NI forums which do this. Just search for "simulate keyboard'. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.