Type | Description | |||
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's is disabled the control's caret is hidden too. If the control is disabled, the control's content looks grayed.
The following VB sample disables the control:
Expression1.Enabled = False
The following C++ sample disables the control:
m_expression.SetEnabled( FALSE );
The following VB.NET sample disables the control:
AxExpression1.Enabled = False
The following C# sample disables the control:
axExpression1.Enabled = false;
The following VFP sample disables the control:
with thisform.Expression1.Object .Enabled = .f. endwith