Hot Door CORE Forum
valueChangedCallback() for sliders - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Feature requests (http://hotdoorcore.com/forum/forumdisplay.php?fid=7)
+--- Thread: valueChangedCallback() for sliders (/showthread.php?tid=350)



valueChangedCallback() for sliders - Rick Johnson - 07-20-2023

Is it possible to implement a value changed callback, as opposed to value changing, as text fields have? That is, a callback for when the user releases the mouse for the slider and it is done changing. Even better would be callbacks for when it receives and loses focus. Maybe you have a better idea of how to address this:

Each increment of the slider adds another step to Illustrator's History panel and Undo/Redo. I use the SDK to set up Undo states, and want to use kAIAppendUndoContext to combine these steps into one step in the History panel, and one Undo/Redo.

Can this be added to CORE, or somehow implemented in the current version of CORE's sliders?

Thanks