RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
MPlayer.EMPNotify Type

EMPNotify is the type of event handlers that respond when the user interacts with a TMediaPlayer component.

Pascal
EMPNotify = procedure (Sender: TObject; Button: TMPBtnType; var DoDefault: Boolean) of object;
C++
(Sender: TObject; Button: TMPBtnType; var DoDefault: Boolean) ( EMPNotify)();

Sender is the TMediaPlayer component whose button was clicked.  

Button indicates the button that was clicked. It can be one of the following values: btBack, btEject, btNext, btPause, btPlay, btPrev, btRecord, btStep, or btStop.  

DoDefault returns an indication of whether the media player should make its default response after the event handler exits.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!