From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBTreeNode, Interface ISDBTreeNode

Property Get/Let OnFillTracksFunct As String

Property description

Name of an event function in ISDBTreeNode::UseScript file that is called when user selects a node and its tracks should be shown in track list. The only parameter of this function is the node that was just selected.

Example code

Sub FillLyricist( Node)
  Set Trcks = SDB.MainTracksWindow

  Trcks.AddTracksFromQuery( "and Songs.ID in (SELECT IDSong FROM AddSongInfo WHERE DataType=200 AND TextData='" & Node.CustomData & "')")
End Sub

Related Topics