Copyright © 2008-2023 MultiMedia Soft

TracksBoard.PlayHeadPositionSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the position of the play head line. The current position can be obtained through the TracksBoard.PlayHeadPositionGet 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]

control.TracksBoard.PlayHeadPositionSet (

bPlayHeadAvailable as enumBoolean,

nPosInMs as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.PlayHeadPositionSet (

long bPlayHeadAvailable,

long nPosInMs

);


 

Parameter

Description

 

 

bPlayHeadAvailable

Boolean value representing the flag for play head line availability.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Hides the play head line. In this case the value passed to the nPosInMs parameter is ignored.

BOOL_TRUE

Displays the play head line at the position passed to the nPosInMs parameter

nPosInMs

The play head line position, expressed in milliseconds

 

 

 

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