Add list:GetAutoScroll

This commit is contained in:
Kenny Shields 2014-10-23 18:59:01 -04:00
parent 9977d8e106
commit 15c0fae285

View File

@ -704,6 +704,18 @@ function newobject:SetAutoScroll(bool)
end
--[[---------------------------------------------------------
- func: GetAutoScroll()
- desc: gets whether or not the list's scrollbar should
auto scroll to the bottom when a new object is
added to the list
--]]---------------------------------------------------------
function newobject:GetAutoScroll()
return self.autoscroll
end
--[[---------------------------------------------------------
- func: SetButtonScrollAmount(speed)
- desc: sets the scroll amount of the object's scrollbar