Copyright © 2008-2023 MultiMedia Soft

TracksBoard.ItemSelectedGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identification number of the selected sound item.

 

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]

control.TracksBoard.ItemSelectedGet (

ByRef nUniqueId as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.ItemSelectedGet (

long *nUniqueId

);


 

Parameter

Description

 

 

nUniqueId

Reference that, on return from the method call, will contain the unique identification number assigned to the selected sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

 

If no items is currently selected the returned value is 0.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful