property HTML.Enabled as Boolean
Enables or disables the control.

TypeDescription
Boolean A color expression that indicates whether the control is enabled or disabled.

Use the Enabled property to disable the control. Use the Locked property to lock the control. If the control is disabled the user cannot change the control's content. The scrollbars are disabled, if the control is disabled. The BackColorLocked property specifies the control's background while it is locked. The ForeColorLocked property specifies the control's foreground while it is locked.  If the control's is disabled the control's caret is hidden too. The difference between Locked vs Enabled, is that user can select/scroll the text into a locked control, and can not select/scroll the text into a disabled control

The following VB sample disables the control:

HTML1.Enabled = False

The following C++ sample disables the control:

m_html.SetEnabled( FALSE );

The following VB.NET sample disables the control:

AxHTML1.Enabled = False

The following C# sample disables the control:

axHTML1.Enabled = false;

The following VFP sample disables the control:

with thisform.HTML1.Object
	.Enabled = .f.
endwith