Garry's Mod Wiki

Revision Difference

DForm:ListBox#526652

<function name="ListBox" parent="DForm" type="panelfunc"> <ispanel>yes</ispanel> <description>Adds a <page>DListBox</page> onto the <page>DForm</page></description>⤶ <description>Adds a <page>DListBox</page> onto the <page>DForm</page>⤶ <warning><page>DListBox</page> is marked as deprecated, use <page>DListView</page> with <page>DForm:AddItem</page> instead.</warning></description>⤶ <realm>Client</realm> <args> <arg name="label" type="string">The label to set on the DListBox</arg> </args> <rets> <ret name="" type="Panel">The created <page>DListBox</page></ret> <ret name="" type="Panel">The created <page>DLabel</page></ret> </rets> </function>