Copyright © 2008-2023 MultiMedia Soft

CallbackTracksboardControl delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a control icon added to the TracksBoard is pressed: this callback can be set through a call to the CallbackTracksboardControlSet method.

 

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

nUniqueID as Int32,

ByVal nTrack as Int16

)


 

[C#]

public delegate void CallbackTracksboardControl (

Int32 nUniqueID,

Int16 nTrack

)


 

[C++]

public delegate void CallbackTracksboardControl (

Int32 nUniqueID,

Int16 nTrack

)


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the control icon by one between the TracksBoard.ControlIconAdd, TracksBoard.ControlIconAddFromFile and TracksBoard.ControlIconAddFromMemory methods.

nTrack

Value representing the zero-based index of the track where the control was pressed. The current number of tracks can be obtained through the TracksBoard.TracksCountGet method.