View Issue Details

IDProjectCategoryView StatusLast Update
0006706MMW v4Framework: Scripts/Extensionspublic2011-04-11 09:18
Reporterzvezdan Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Target Version4.1 
Summary0006706: ISDBTracksWindow::RemoveTrack method needed
DescriptionWe need RemoveTrack method which could be used to remove some particular track from the main tracklist, similar to ISDBPlayer::PlaylistDelete.
Additional InformationWell, this could be achieved using e.g.

For i = 0 To SDB.AllVisibleSongList.Count - 1
    If i = iShouldBeRemoved Then
        SDB.MainTracksWindow.Selected(i) = True
    Else
        SDB.MainTracksWindow.Selected(i) = False
    End If
Next
SDB.MainTracksWindow.RemoveSelectedTracks

However, what if we want to keep existing selection? We need to store array of selected tracks and to apply another loop just to select previously selected tracks again. This is to much works for such trivial task, so it would be better if we could get the suggested method.
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.