DListView/GetSelectedLine

From Garry's Mod
Jump to: navigation, search
 DListView:GetSelectedLine( )

DescriptionPanelFunc

Gets the currently selected DListViewLine.

If DListView:SetMultiSelect is set to true, only the first line of all selected lines will be returned. Use DListView:GetSelected instead to get all of the selected lines.

Returns

number

The index of the currently selected line.
Personal tools
Navigation