To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code will show us how to use the scroll functionality with a mouse on a Text Box.
Description
Since there is no native function in LabVIEW to allow mouse scrolling on a TextBox, a code must need to be created for it. The example attached will show us how to scroll with a mouse depending on the action selected.
Requirements
1. LabVIEW 2012 (or compatible)
2. (Windows) DirectX 8.0 or later
Steps to Implement or Execute Code
1. Open the "Text Box Scroll LV2012 - NI Verified.vi".
2. Select the Run button.
3. Fill the Text Box with enough values to be able to scroll.
4. Position the mouse on top of the Text Box and use the mouse to scroll through the string.
Additional Information or References:
Regards,
Dan King
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.