10-15-2013 10:48 AM
The documentation (and property names themselves) imply the range min and max values are inclusive so shouldn't I be able to set the value, range min and range max the same? From a numeric standpoint, this is a legitimate situation but the control throws an error if I try to do this. I have a real world application where an instrument allows [min <= value <= max] and I would like the control to perform the same as the instrument.
I'm using VB.NET 2012 and Measurement Studio 2013. I vaguely remember Measurement Studio VB6 let me set the range min and max the same but had a quirky side effect.
10-16-2013 04:08 PM
Hi ray_martin,
Is their a specific reason or use case (other than just matching the device's specs) that you are trying to design for? Any background on what you are trying to accomplish would help, as the solution should be tailored to the desired outcome. In general, the values cannot be set equal because these values are used to generate the UI for the slider.
10-16-2013 04:19 PM
The instrument allows a super user to configure the range of specific values. In some cases, they only want a regular user to use a fixed value so they set the range min/max the same. In other words, these 3 properties can be used to accomplish a secondary operating mode. In reality though, setting all 3 values the same is simply the boundary condition of the basic behavior (i.e. min<=value<=max) and not a special case.
10-17-2013 09:13 AM
One way the Slide control could visually present the situation where the range min and max are the same is the pointer would expand to fill the full width (or height depending on orientation) of the control. That way, the user would see the pointer doesn't have any room to be dragged since it extends to the ends (full range).
10-17-2013 03:27 PM
You might want to disable the control when in the standard mode and use an override value. Then enable the control when in Super User mode.
The interaction mode property can be set based on the user mode.