Remarks
Obtains the unique identification number of a specific vertical line.
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]
control.TracksBoard.VerticalLineUniqueIdGet (
nIndex as Integer,
ByRef nUniqueId as Long
) as enumErrorCodes
|
|
[C++]
short control.TracksBoard.VerticalLineUniqueIdGet (
short nIndex,
long *nUniqueId
);
|
|
Parameter
|
Description
|
|
|
nIndex
|
Zero-based index of the vertical line. The total number of available vertical lines can be obtained through the TracksBoard.VerticalLinesCountGet method.
It's important to note that, after eventually removing a vertical line through the TracksBoard.VerticalLineRemove method, you will have to perform a new call to the TracksBoard.VerticalLinesCountGet in order to have an update enumeration of vertical lines and in order to avoid misalignments of the zero-based index.
|
nUniqueId
|
Reference that, on return from the method call, will contain the unique identification number of the given vertical line.
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|