no idea if its the proper way, but for the scrollbars I have in the addon im working on I used the OnValueChanged script to perform my updates.
So, I have one function that goes through and assigns the proper values to all the frames on the screen, the values it assigns are based on the slider:GetValue() method, so if that changes then the assigned values will also change.
At work, so not sure of the exact syntax, but I do something like this...
function UpdateDisplay()
--update the visible frames here
end
slider:HookScript("OnValueChanged", UpdateDisplay)
|