RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.EnabledButtons Property

Determines which buttons on the media player are usable.

Pascal
property EnabledButtons: TButtonSet;
C++
__property TButtonSet EnabledButtons;

EnabledButtons controls which buttons on the media player are enabled and usable. 

An enabled button is colored and usable. A disabled button is dimmed and not usable. If a button is not enabled with EnabledButtons, it is disabled. By default, all buttons are enabled. 

If the AutoEnable property is true, AutoEnable supersedes EnabledButtons. The buttons automatically enabled or disabled by the media player override any buttons enabled or disabled with the EnabledButtons property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!