Detect when Slider's editor lost focus even when value is unchanged


#1

Hi,

I’m basically trying to detect when the user presses the return key in a Slider’s editor regardless of the actual value being changed or not. Couldn’t find a “simple” way to do that.

Thanks a lot.


#2

Ok, I’ve solved this by using a custom L&F for the Slider, overriding the createSliderTextBox inside which I assigned a lambda to the Label’s onEditorHide member.