Enabled Property

Returns or sets an Integer value specifying whether or not the control is enabled.

Syntax

MediaPlayer.Enabled

Remarks

This property is identical to the standard Visual Basic Enabled property.

A disabled control remains visible (if it already was) and will continue to play, if it was already playing. When a control is disabled, none of the commands or menus respond to user input.

Disabling a control at design time is useful if you want to control the media stream from an external source, such as a custom group of controls on a Web page, instead of from the built-in controls panel.

Settings

The Enabled property can have the following values:

Setting Description
True (Default) The control is enabled.
False The control is disabled.

© 1996-1998 Microsoft Corporation. All rights reserved.