RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Click Method

Generates an OnClick event.

Pascal
procedure Click(Button: TMPBtnType; var DoDefault: Boolean); dynamic; reintroduce;
C++
__fastcall Click(TMPBtnType Button, Boolean DoDefault);

Click for media-player components is the implementation method for the OnClick event. By default, Click does nothing other than call any event handler attached to the media player's OnClick event. Click can be overridden in descendant classes to customize responses to clicks. 

 

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