Garry's Mod Wiki

DForm:ListBox

  DListBox, DLabel DForm:ListBox( string label = nil )

Description

Adds a DListBox onto the DForm

We advise against using this. It may be changed or removed in a future update. Use DListView with DForm:AddItem instead.

Arguments

1 string label = nil
The label to set on the DListBox

Returns

1 DListBox
The created DListBox
2 DLabel
The created DLabel if label string was specified