RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.AutoEnable Property

Determines whether the media player automatically enables and disables individual buttons in the component.

Pascal
property AutoEnable: Boolean;
C++
__property Boolean AutoEnable;

Use AutoEnable to automatically enable or disable the control buttons on the media player. If AutoEnable is true, the media player automatically enables or disables its control buttons. The media player determines which buttons to enable or disable by the current mode specified in the Mode property, and the current multimedia device type specified in the DeviceType property. 

AutoEnable overrides the EnabledButtons property. The buttons enabled or disabled automatically by the media player supersede any buttons enabled or disabled with EnabledButtons

If AutoEnable is false, the media player does not enable or disable buttons. The buttons must enabled or disabled with the EnabledButtons property. 

The following table shows whether buttons are automatically enabled or disabled for each device mode:

Button 
Play 
Record 
Stop 
Not Open 
Back  
Disabled  
Eject  
Disabled  
Next  
Disabled  
Pause  
Disabled  
Disabled  
Play  
Disabled  
Disabled  
Disabled  
Prev  
Disabled  
Record  
Disabled  
Disabled  
Disabled  
Step  
Disabled  
Stop  
Disabled  
Disabled  
Disabled  

 

AutoButtonSet 

DeviceType 

EnabledButtons 

MMNotify 

Mode 

Adding Audio and/or Video Clips to an Application

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