01-15-2025 10:19 AM
I have several horizontal sliders that have two sliders. I do this to visualize a limit to the user (in the actual program the limit slider will be transparent). The user should be able to move the first slider (the left one) but not the second slider (the right one).
I don't find an option to disable just one slider in the property nodes. Hiding the slider by making it transparent still allows the user to drag it.
The cleanest solution I found was to set the slider back to the old value in case the second slider was changed. But this causes some visual glitches as the program moves back and forth between the old and new value.
Is there a better way?
01-15-2025 10:45 AM
What if you would change the scale max to the upper limit such that the right edge is the max for each? Now you actually only need one slider, simplifying the code.
01-15-2025 11:15 AM
If you don't need the 2nd slider at runtime, you can customize the slide ctrl. Right click on the 2nd slider, check "NoTrackMack". Then the 2nd slider will be disable for user, but can be changed by property node. See attached ctrl.
01-15-2025 12:46 PM
@zou wrote:
If you don't need the 2nd slider at runtime, you can customize the slide ctrl. Right click on the 2nd slider, check "NoTrackMack". Then the 2nd slider will be disable for user, but can be changed by property node. See attached ctrl.
What ini key do you need in LabVIEW.ini to get this long menu list?
01-15-2025 12:54 PM
@UliB wrote:
@zou wrote:
If you don't need the 2nd slider at runtime, you can customize the slide ctrl. Right click on the 2nd slider, check "NoTrackMack". Then the 2nd slider will be disable for user, but can be changed by property node. See attached ctrl.
What ini key do you need in LabVIEW.ini to get this long menu list?
enableSecretPopups=True
Take a look this NI Doc: