Thread: ScrollControl
View Single Post
03/14/14, 07:51 PM   #1
skyraker
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 154
ScrollControl

Trying to add a scroll control to a window control I am creating to display a list of items. Unfortunately, I am not too familiar with what all the functions and the control is not displaying.

Code:
my_Lore_SC = WINDOW_MANAGER:CreateControl("myLoreSC", myLore, CT_SCROLL)
		my_Lore_SC:SetDimensions(25,25)
		my_Lore_SC:SetAnchor(TOPRIGHT,myLore,TOPRIGHT,0,30)
		my_Lore_SC:SetVerticalScroll(100)
First, not sure if this is even the best thing to use. Second, even if it is SetDimensions doesn't make sense. Third, not certain I am using SetVerticalScroll correctly.

Thoughts?
  Reply With Quote