Try this example
http://wowprogramming.com/snippets/W...roll_frames_22
It does not make use of templates yet but it shows how to handle the ScrollChild.
Of course...using FauxTemplate is handling the ScrollChild quite differently I think.
*edit*
Got exactly what I was looking for.
Code will be coming soon.
I'm using a ScrollFrame with this template: "UIPanelScrollFrameTemplate" with a twist.
To bad I wanted a ScrollBar with this template: "UIPanelScrollBarTrimTemplate". The UIPanelScrollFrameTemplate only uses UIPanelScrollBarTemplate. So I just looked up the SetTexCoord for the scrollbar border and added it manually.
*edit*
Ok here is the code that does it:
http://code.google.com/p/rothui/sour...estScrollFrame
Thanks to templates there is actually veeery few code to write.