Garry's Mod Wiki

DScrollPanel:Clear

DScrollPanel:Clear()

Description

Clears the DScrollPanel's canvas, removing all added items.

Example

Recreation of this function.

local panel = vgui.Create( "DScrollPanel" ) panel:GetCanvas():Clear()
Output: All entries in the DScrollPanel are removed.

Page Links


Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 7