Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: May 4, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

TextBox Scrolling with Mouse Wheel

0 ratings | 0.00 out of 5
Print

Downloads

Filename: textboxscroll.vi
Requirements: View

This example demonstrates how to build a simple scrolling mechanism to enable text box scrolling by using the mouse wheel.  This enables the LabVIEW Text Box control to be used instead of the Rich Text Box .NET control.

The Aquire Input Data.vi captures the mouse wheel position and adjusts the text box scroll position based on the mouse input.  The event structure allows the scrolling to occur only when the mouse is over the text box.  It also disables scrolling if the user selects the vertical scroll bar to avoid undesirable behavior.

Requirements


Filename: textboxscroll.vi

Software Requirements


Application Software: LabVIEW Full Development System 8.2

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).