Name
Listview.GetEntry -- get listview entry
Synopsis
column1$, ... = moai.DoMethod(id, "GetEntry", pos[, icons])
Function
Get an entry from a listview. You can pass either an absolute index in pos or the special value Active to get the active entry. Listview.GetEntry will then return the entries of all columns in the row specified by pos. You will get as many return values as there are columns in the listview.

Starting with RapaGUI 2.0, Listview.GetEntry accepts an optional icons argument now. If this is set to True, Listview.GetEntry will also return the identifier of the brush/icon used for a listview item or -1 if no brush/icon has been set for this item. Note that the identifier is only returned for columns that have the Listviewcolumn.Icon attribute set to True.

Inputs
id
id of the listview object
pos
index of listview row or "Active"
icons
optional: True if information about icons should be returned as well (V2.0)
Results
column1$
entry data of first column
...
further data if listview has multiple columns

Show TOC