i’d like to popup a “Numerical Pad” Custom Component when the user clicks into the text entry box that can be part of the Slider. The problem is that there’s currently no access method to the ScopedPointer valueBox.
Would it be possible to add a function to get Acess to the “valueBox” Label of the Slider Component ?
Thanks in advance
All the best
thanks for the suggestion but in your code it rebuilds a new Label indeed :
Label* LookAndFeel::createSliderTextBox (Slider& slider)
Label* const l = new SliderLabelComp();
l->setColour (TextEditor::outlineColourId, slider.findColour (Slider::textBoxOutlineColourId));
so i can’t put a listener on it.
You can overload that lookandfeel method to return anything you like!
i agree. it’s not the straightest way. but it will do it.