Copyright © 2005-2023 MultiMedia Soft

TracksBoard.ItemPositionLockStateGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the lock state of the position for the given item. The lock state can be modified through the TracksBoard.ItemPositionLockStateSet method.

 

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

nUniqueId as Int32,

ByRef bIsLocked as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemPositionLockStateGet (

Int32 nUniqueId,

ref bool bIsLocked

);


 

[C++]

public: enumErrorCodes ItemPositionLockStateGet (

Int32 nUniqueId,

bool __gc *bIsLocked

);


 

Parameter

Description

 

 

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

bIsLocked

Reference that, after returning from the method call, will contain a boolean value indicating if the item's position is locked.

Supported values are the following:

Value

Meaning

false (default)

The item is not locked.

true

The item is locked.

 

 

 

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