Garry's Mod Wiki

DListView:GetSelectedLine

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.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 6