Vcl.MPlayer.TMediaPlayer.EnabledButtons

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EnabledButtons: TButtonSet read FEnabledButtons write SetEnabledButtons  default [btPlay, btPause, btStop, btNext, btPrev, btStep, btBack, btRecord, btEject];

C++

__property TButtonSet EnabledButtons = {read=FEnabledButtons, write=SetEnabledButtons, default=511};

Properties

Type Visibility Source Unit Parent
property published
Vcl.MPlayer.pas
Vcl.MPlayer.hpp
Vcl.MPlayer TMediaPlayer

Description

Determines which buttons on the media player are usable.

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.

See Also


Code Examples