How to disable TGDoubleSlider (TGDoubleHSlider)


I need to disable and enable the user ability to drag/modify a TGDoubleSlider control.
But it doesn’t have a SetState() member, and SetEditable(kFALSE) doesn’t do it.

Also, is there a way to ‘lock’ the double slider so the user cannot move the max. or min. position?
In other words, user could only move the range, not modify the distance of the range.

Thanks very much!

Hi buddy,

This is actually not possible to lock or disable the double sliders (only simple ones). I’ll add it to the todo list…

Cheers, Bertrand.