Skip to content

NotifyPlayerTrackbarAction

function

Delphi
procedure NotifyPlayerTrackbarAction (TrackbarAction: TTrackbarAction);
C++Builder
void __fastcall NotifyPlayerTrackbarAction(TTrackbarAction TrackbarAction);
C#
public void NotifyPlayerTrackbarAction(TTrackbarAction TrackbarAction);
VB.NET
Public Sub NotifyPlayerTrackbarAction(TrackbarAction As TTrackbarAction)
C++/Qt
void NotifyPlayerTrackbarAction (TTrackbarAction TrackbarAction);

Must be invoked from the OnMouseDown, OnMouseUp, OnKeyDown and OnKeyUp events of the trackbar, when implementing a player trackbar. Set the TrackbarAction parameter to the TTrackbarAction value that matches the event: tba_MouseDown (OnMouseDown), tba_MouseUp (OnMouseUp), tba_KeyDown (OnKeyDown) or tba_KeyUp (OnKeyUp).

See the Trackbar chapter of the player section for more information.