From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

ATTR_RIGHT_RANGE

ATTR_RIGHT_RANGE

Type: Control attribute
Description: This is one of four attributes that define the range of motion of the splitter control. You can allow LabWindows/CVI to automatically set this range using the rules below, or you can define your own range. You can also choose to not enforce a range by setting the attribute to VAL_NO_RANGE_LIMIT.



The default range rules are as follows: the splitter control can be moved up to the point where the far edge of any attached controls or panels that are attached in "move" mode would reach the far edge of the panel, or up to the point where the splitter itself would reach the panel edge, whichever comes first.



Regardless of whether you use the default range, or set your own range, splitters cannot be moved past the point where any control or panel that is attached to the splitter in "size" mode is reduced to its standard minimum size (this varies according to control type).



You specify values for this attribute using panel coordinates, relative to the top/left corner of the panel.
Control Types: Splitters.
Restrictions: Not valid for horizontal splitters
Data Type: integer
Valid Range: -32768 to 32767, or VAL_AUTO_RANGE, or VAL_NO_RANGE_LIMIT
Default Value: VAL_AUTO_RANGE
LabWindows/CVI
Compatibility:
LabWindows/CVI 7.1 and later

Values

VAL_AUTO_RANGE Set this value to allow LabWindows/CVI to automatically determine the range of motion of splitter controls.
VAL_NO_RANGE_LIMIT Set this value if you don't want LabWindows/CVI to impose a range of motion on splitter controls.

Note: even if you set this value, you cannot move splitters past the point where any control or panel that is attached to the splitter in "size" mode is reduced to its standard minimum size (this varies according to control type)
In This Section
Was this information helpful?

Help us improve your future ni.com experience.

What are you trying to do?

Submit