Copyright © 2008-2023 MultiMedia Soft

CallbackTracksboardDropFile delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a new sound file item has been added to the TracksBoard's session following a drag & drop operation or a paste from the clipboard performed through the TracksBoard.ItemSoundFileFromClipboardPaste method: this callback can be set through a call to the CallbackTracksboardDropFileSet method.

 

The usage of this delegate is alternative to the TracksBoardDropFile event.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackTracksboardDropFile (

nUniqueId as Int32

)


 

[C#]

public delegate void CallbackTracksboardDropFile (

Int32 nUniqueId

)


 

[C++]

public delegate void CallbackTracksboardDropFile (

Int32 nUniqueId

)


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the sound item after a paste from the clipboard or after a drag & drop operation.

This value is set to -1 when the paste or drag & drop operation fails due to the file being of an unrecognized format.