Enabled PropertyEnabled Property*
*Contents  *Index  *Topic Contents
*Previous Topic: EnableContextMenu Property
*Next Topic: EnablePositionControls Property

Enabled Property

Specifies whether the control is enabled.

Syntax

[form.]object.Enabled [ = setting ]

Settings

-1(Default) The control is enabled.
0The control is disabled.

Data Type

Integer (Enumerated)

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.

Run-time access: read/write. Design-time access: read/write.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.