Garry's Mod Wiki

Revision Difference

DComboBox:ChooseOption#546114

<function name="ChooseOption" parent="DComboBox" type="panelfunc"> <ispanel>yes</ispanel> <description>Selects a combo box option by its index and changes the text displayed at the top of the combo box.</description> <realm>Client</realm> <file line="82-L97">lua/vgui/dcombobox.lua</file> <file line="86-L101">lua/vgui/dcombobox.lua</file> <args> <arg name="value" type="string">The text to display at the top of the combo box.</arg> <arg name="index" type="number">The option index.</arg> </args> </function>