Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Changing Scrolling Ranges of Scroll Bar Controls

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

You can change the scrolling range of scroll bar controls by using the Data Entry page of the Scrollbar Properties dialog box. For example, if Minimum is 0, Maximum is 10, and Page size is 2, the scrolling range is 0 to 8. The top or left position of the scroll box determines the value of the scroll bar.

Complete the following steps to set the scrolling ranges for a scroll bar control.

  1. Right-click a scroll bar control and select Data Entry from the shortcut menu to display the Data Entry page of the Scrollbar Properties dialog box.
  2. Remove the checkmark from the Use Default Limits checkbox.
  3. In the Minimum field, set the low value limit and decide whether to select the Coerce option from the pull-down menu. If you do not coerce Minimum, you can decrement the scroll bar value out of the scrolling range by clicking the decrement arrow.
  4. In the Maximum field, set the high value limit and decide whether to select the Coerce option from the pull-down menu. If you do not coerce Maximum, you can increment the scroll bar value out of the scrolling range by clicking the increment arrow.
  5. In the Increment field, set the incremental value. When you click the increment and decrement arrows, the scroll bar value adds or subtracts the increment value to move the scroll box toward the arrow that you click.
  6. In the Page size field, set the page size. When you click the spaces between the scroll box and the arrows, the scroll bar value changes by the page size.

You also can use the Scrollbar properties to set the scrolling range programmatically.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit