Garry's Mod Wiki

Revision Difference

DForm:ListBox#554084

<function name="ListBox" parent="DForm" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Adds a <page>DListBox</page> onto the <page>DForm</page> <deprecated>Use <page>DListView</page> with <page>DForm:AddItem</page> instead.</deprecated></description> <realm>Client and Menu</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>