Examples: ListView_ItemGetLabel()


The following example uses the ListView_ItemGetLabel() function to retrieve the label of the first item selected in the Explorer List list view field.

local long selected_item;
local string item_label;

{Retrieve the selected item.}
selected_item = ListView_SelectionGet('Explorer List');

if selected_item <> LV_INVALID then
	item_label = ListView_ItemGetLabel('Explorer List', selected_item);
end if;


Documentation Feedback