Copyright © 2005-2023 MultiMedia Soft

OnTracksBoardDisplayRangeChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the range displayed on the TracksBoard's window has been changed after a zooming operation or after a scrolling operation or after a call to the TracksBoard.DisplayRangeSet method.

 

This event replaces the usage of the CallbackTracksboardRange delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_TRACKSB_RANGE.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

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]

EditorApi_OnTracksBoardDisplayRangeChange (

ByVal nBeginPosInMs as Long,

ByVal nEndPosInMs as Long

)

 

 

where "EditorApi" is declared in Visual Basic 6 code as:

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

 

Parameter

Description

 

 

nBeginPosInMs

Displayed range start position, expressed in milliseconds

nEndPosInMs

Displayed range end position, expressed in milliseconds