getValueObject() on Slider


#1

Hi, just come across this on Slider and it’s massively simplified a few things I’m doing. Is there any reason why this mechanism doesn’t exist for other UI objects, eg… combo boxes, toggles etc?

thx


#2

There is! :slight_smile:

Button::getStoggleStateValue() for buttons (including toggle) and ComboBox::getSelectedIdAsValue()


#3

ha. sorry, was looking for a common method name, should have looked a bit harder… thanks!