Copyright © 2005-2023 MultiMedia Soft

TracksBoard.ItemSelectedGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identification number of the selected sound item, if any.

 

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 Function ItemSelectedGet (

ByRef nUniqueId as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSelectedGet (

ref Int32 nUniqueId

);


 

[C++]

public: enumErrorCodes ItemSelectedGet (

Int32 __gc *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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.