Copyright © 2008-2023 MultiMedia Soft

TracksBoardItemClick event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a mouse button is clicked over a sound item available on the TracksBoard.

 

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 TracksBoardItemClick As TracksBoardItemClickEventHandler


 

[C#]

public event TracksBoardItemClickEventHandler TracksBoardItemClick;


 

[C++]

public: __event TracksBoardItemClickEventHandler TracksBoardItemClick;


 

 

Event Data

 

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

 

Parameter

Description

 

 

nButton

Clicked mouse button.

Supported values are the following:

Mnemonic constant

Value

Meaning

MOUSE_BTN_LEFT

0

Left mouse button

MOUSE_BTN_RIGHT

1

Right mouse button

MOUSE_BTN_MIDDLE

2

Middle mouse button

nUniqueID

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

nPressPosInMs

Position of the click, expressed in milliseconds, respect to the beginning of the session