Copyright © 2011-2023 MultiMedia Soft

OnTracksBoardControl event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a control icon added to the TracksBoard is pressed.

 

This event replaces the usage of the CallbackTracksboardControl 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_EDT_TRACKSB_CONTROL.

 

 

Syntax

 

[Visual Basic]

EditorApi_OnTracksBoardControl (

ByVal nUniqueID as Int32,

ByVal nTrack as Int16

)

 

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

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

 

Parameter

Description

 

 

nUniqueID

Unique identification number assigned to the control icon by one between the TracksBoard.ControlIconAdd, TracksBoard.ControlIconAddFromFile and TracksBoard.ControlIconAddFromMemory methods.

nTrack

Value representing the zero-based index of the track where the control was pressed. The current number of tracks can be obtained through the TracksBoard.TracksCountGet method.