Scrolling text with mouse movement

can someone tell me or lead me to a link on how to construct a scrolling system that doesn’t use a bar or buttons, but is controlled by the mouse moving up or down?

thanks