Skip to main content
Known Participant
May 22, 2006
Answered

Removing specific items from a list

Hi all,
i have the following problem:

I have a list component on stage.
I have 10 Items in the list , selected index is 5.

Now i want to delete all the items above 5 (6-10).
I think an array would be a solution but im not so kind with this so i need your help.

Thank you
Simon
This topic is closed to new replies. Start a new post to keep the conversation going.
Craig Grummitt
Craig GrummittCorrect answer
Inspiring
May 23, 2006
if the instance name of your list is myList, then the following code will remove all items after the currently selected item:

1 reply

Craig Grummitt
Craig GrummittCorrect answer
Inspiring
May 23, 2006
if the instance name of your list is myList, then the following code will remove all items after the currently selected item:
Translate