Garry's Mod Wiki

Garry's Mod Wiki

  number, Panel DListView:GetSelectedLine()

Description

Gets the currently selected DListView_Line index.

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

1 number
The index of the currently selected line.
2 Panel
The currently selected DListView_Line.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...