Copyright © 2005-2023 MultiMedia Soft

CallbackTracksboardLineReached delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a vertical line inside the Tracksboard is moved through the mouse or through code: this callback can be set through a call to the CallbackTracksboardLineReachedSet method.

 

The usage of this delegate is alternative to the TracksboardLineReached 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 CallbackTracksboardLineReached (

nUniqueID as Int32,

ByVal nPosInMs as Int32

)


 

[C#]

public delegate void CallbackTracksboardLineReached (

Int32 nUniqueID,

Int32 nPosInMs

)


 

[C++]

public delegate void CallbackTracksboardLineReached (

Int32 nUniqueID,

Int32 nPosInMs

)


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the vertical line after invoking the TracksBoard.VerticalLineAdd method.

nPosInMs

Value representing the new position of the vertical line expressed in milliseconds