Garry's Mod Wiki

DComboBox:GetSelected

  string, any DComboBox:GetSelected()

Description

Returns the currently selected option's text and data

Returns

1 string
The option's text value.
2 any
The option's stored data.