API:UIPanelScrollBarTemplate OnMouseWheel

This function affect scroll on mouse whell
in your .xml file put the code for any object (scroll bar, frame, button etc.)
...
<Scripts>
 ...
 <OnMouseWheel>
	UIPanelScrollBarTemplate_OnMouseWheel(scroll bar name, delta);
 </OnMouseWheel>
</Scripts>
...
scroll bar name - the name of the scroll bar you want to scroll
delta - must be a variable
Category:Functions