Garry's Mod Wiki

Revision Difference

DVScrollBar#551405

<panel> <parent>Panel</parent> <description> <internal>Use <page>DScrollPanel</page>.</internal>A scrollbar used in <page>DScrollPanel</page>. The scrollbar notably contains **DVScrollBar.btnUp, DVScrollBar.btnDown, and DVScrollBar.btnGrip** which are the up button, down button, and grip respectively. Editing the paint functions of these allows custom scrollbar styling. See <page>DScrollPanel:GetVBar</page> for an example. A generic vertical scrollbar, used in <page>DScrollPanel</page>. See the horizontal alternative [here](DHScrollBar). The scrollbar notably contains `DVScrollBar.btnUp`, `DVScrollBar.btnDown`, and `DVScrollBar.btnGrip` which are the up button, down button, and grip respectively. Editing the paint functions of these allows custom scrollbar styling (See <page>DScrollPanel:GetVBar</page> for an example), although it is a better idea to use [Derma Skins](Derma_Skin_Creation). </description> </panel>