Garry's Mod Wiki


DVScrollBar:SetUp( number barSize, number canvasSize )


Sets up the scrollbar for use.

The scrollbar will automatically disable itself if the total height of the canvas is lower than the height of the panel that holds the canvas during this function call.


1 number barSize
The size of the panel that holds the canvas, basically size of "1 page".
2 number canvasSize
The total size of the canvas, this typically is the bigger number.

Page Links

Special Pages



Render Time: 26ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 6