DListView/GetSelectedLine

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 11: Line 11:
 
|type=Panel
 
|type=Panel
 
|desc=The currently selected {{Type|DListView_Line}}.
 
|desc=The currently selected {{Type|DListView_Line}}.
 
{{NextUpdate}}
 
 
}}
 
}}

Latest revision as of 16:09, 21 January 2020

 DListView:GetSelectedLine( )

DescriptionPanelFunc

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

number

The index of the currently selected line.

Returns

Panel

The currently selected DListView_Line.
Personal tools
Navigation