Visual Basic: Multimedia MCI Control

Enabled Property (Multimedia MCI Control)

See Also   Example   Applies To

Determines if the control can respond to user-generated events, such as the KeyPress and mouse events.

Syntax

[form.]MMControl.Enabled[ = {True | False}]

Remarks

This property permits the Multimedia MCI control to be enabled or disabled at run time. The effect of the Enabled property supersedes the effects of the AutoEnable and ButtonEnabled properties. For example, if the Enabled property is False, the Multimedia MCI control does not permit access to its buttons, regardless of the settings of the AutoEnable and ButtonEnabled properties.

The following table lists the Enabled property settings for the Multimedia MCI control.

Setting Description
False All buttons on the control are disabled (dimmed).
True (Default) The control is enabled. Use the AutoEnable property to let the Multimedia MCI control automatically enable or disable the buttons in the control. Or, use the ButtonEnabled properties to enable or disable individual buttons in the control.

Data Type

Integer (Boolean)