|Go to Page...|
||Thread Tools||Display Modes|
|05-13-19, 01:45 AM||#1|
A Murloc Raider
Join Date: May 2019
Copy Paste Scrolling Frame template
So this code is mainly for myself, but i had so much trouble learning the whole scroll frame and how to get it all to work, but i didnt like having to redo it every time i wanted to use a scroll frame.
I made it in a way that you can do a Find&Replace(Match Case) on PREFIX and replace it with your project name on both files.
As far as i can tell, its self contained, no global variables floating around... i may have missed one or tow, but its a start
Out of the box : the attached image is what it looks like
CreateFrame("Frame",'MyCopyPasteScrollFrame', UIParent, 'PREFIXScrollBaseFrameTemplate')
So heres a copy/paste scroll frame template.
Last edited by urakkaamyx : 05-13-19 at 01:59 AM. Reason: removed global
|WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » Copy Paste Scrolling Frame template|