View Single Post
05/27/14, 05:45 PM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Seerah View Post
You would create a Scroll frame and then use that as the parent of your other controls.
Something like:
Lua Code:
  1. container = WINDOW_MANAGER:CreateControlFromVirtual("name", tlw, "ZO_ScrollContainer")
  2. --set some anchors, create backdrop etc.
  3.  
  4. scroll = container:GetNamedChild("ScrollChild")
  5. --scroll will be parent for your controls
  Reply With Quote