Hot Door CORE Forum

Full Version: valueChangedCallback() for sliders
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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