ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   ScrollControl (https://www.esoui.com/forums/showthread.php?t=283)

skyraker 03/14/14 07:51 PM

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?


All times are GMT -6. The time now is 03:07 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI