- Moderator
- #1
Hi.
I want to get the selected item of a listcontrol/filmstrip.
With
i can get the selected item in a listcontrol. This way, I can now read labels, thumbnails etc. from the selected item.
But, how can I get the ID of the selected item?
When I try by using
I get the value of "0". The items in the list MUST have an ID, because I can select them with
What am I missing?
I want to get the selected item of a listcontrol/filmstrip.
With
Code:
GUIListItem _mylistitem = GetSelectedListItem(GUIWindowManager.ActiveWindow, 50);
i can get the selected item in a listcontrol. This way, I can now read labels, thumbnails etc. from the selected item.
But, how can I get the ID of the selected item?
When I try by using
Code:
int myint = _mylistitem.ItemId
I get the value of "0". The items in the list MUST have an ID, because I can select them with
Code:
GUIListItem _myselectitem = GetListItem(GUIWindowManager.ActiveWindow, 50, 10);
What am I missing?