PDA

View Full Version : Remove selected items only from TSL


Aikiman
06-16-2008, 04:18 AM
Hello ppl,

As the title says, I want to be able to select an item form a textScrollList and use a button to delete this item from the list but I cant find the commands to execute this. Theres the remove all flag but no remove selection flag. Some help would be great.

Aikiman
06-16-2008, 05:12 AM
Sussed it..

string $removeText[] = `textScrollList -q -selectItem fluidTSL`;
textScrollList -e -removeItem $removeText fluidTSL;

CGTalk Moderation
06-16-2008, 05:12 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.