Copyright © 2008-2023 MultiMedia Soft

CallbackTracksboardItemMoved delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked every time an item on the TracksBoard has been moved through the mouse or through code: this callback can be set through a call to the CallbackTracksboardItemMovedSet method.

 

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

 

For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.

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 CallbackWaveformAnalyzerLineMoved (

nUniqueID as Int32,

ByVal bMovedByCode as Boolean

)


 

[C#]

public delegate void CallbackWaveformAnalyzerLineMoved (

Int32 nUniqueID,

bool bMovedByCode

)


 

[C++]

public delegate void CallbackWaveformAnalyzerLineMoved (

Int32 nUniqueID,

bool bMovedByCode

)


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the sound item.

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

bMovedByCode

Boolean value that specifies if the custom vertical line was moved through code or through the mouse.

Supported values are the following:

Value

Meaning

false

The sound item was moved through the mouse

true

The sound item was moved through code by using one between the TracksBoard.ItemOffsetSet, TracksBoard.ItemTrackSet and TracksBoard.ItemSplit methods