Copyright © 2008-2023 MultiMedia Soft

TracksBoard.Move method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves or resizes an existing instance of the TracksBoard window.

 

In case of a resize operation, this method will let the control fire the TracksBoardDisplayWidthChange event.

 

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.Move (

nLeft as Long,

nTop as Long,

nWidth as Long,

nHeight as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.Move (

long nLeft,

long nTop,

long nWidth,

long nHeight

);


 

 

 

Parameter

Description

 

 

nLeft

Left position of the window, expressed in client coordinates (pixels) of hWndParent

nTop

Top position of the window, expressed in client coordinates (pixels) of hWndParent

nWidth

Width of the window, expressed in pixels

nHeight

Height of the window, expressed in pixels

 

 

 

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