Copyright © 2008-2023 MultiMedia Soft

TracksBoardControlPressed event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a control icon added to the TracksBoard is pressed.

 

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 object section.

 

 

Syntax

 

[Visual Basic]

Public Event TracksBoardControlPressed As TracksBoardControlPressedEventHandler


 

[C#]

public event TracksBoardControlPressedEventHandler TracksBoardControlPressed;


 

[C++]

public: __event TracksBoardControlPressedEventHandler TracksBoardControlPressed;


 

 

Event Data

 

The event handler receives an argument of type TracksBoardControlEventArgs having the following parameters:

 

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.