DPanelList.SetBottomUp

From GMod Wiki

Jump to: navigation, search
Function
Syntax DPanelList:SetBottomUp( Boolean bottomup )
Description:
Setting this to true makes the list go from the bottom to the top, unlike the normal behavior.
Returns: nil
In Object: DPanelList
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DPanelList.SetBottomUp]DPanelList.SetBottomUp [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionMakes a DPanelList, then makes it go bottom-up.
Used onNewerClient.png
Code
local MahSupahList = vgui.Create("DPanelList")
MahSupahList:SetSize( 50, 200 )
MahSupahList:SetPos( ScrW() - 50, ScrH() - 200 )
MahSupahList:SetBottomUp( true )
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox