Garry's Mod Wiki

Revision Difference

DComboBox:RemoveChoice#552417

<function name="RemoveChoice" parent="DComboBox" type="panelfunc">⤶ <description>Called when the player opens the dropdown menu.</description>⤶ <realm>Client and Menu</realm>⤶ <added>2023.09.08</added>⤶ <args>⤶ <arg name="index" type="number">The index of the option to remove.</arg>⤶ </args>⤶ <rets>⤶ <ret name="text" type="string">The text of the removed option.</ret>⤶ <ret name="data" type="any">The data of the removed option that was provided.</ret>⤶ </rets>⤶ </function>⤶