Garry's Mod Wiki

Revision Difference

DComboBox:GetSelectedID#550073

<function name="GetSelectedID" parent="DComboBox" type="panelfunc"> <ispanel>yes</ispanel> <description>Returns the index (ID) of the currently selected option.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <file line="110-L114">lua/vgui/dcombobox.lua</file> <rets> <ret name="" type="number">The ID of the currently selected option.</ret> </rets> </function>