property CascadeFile.Enabled as Boolean

Enables or disables the control.

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

Use the Enabled property to disable the control. Use the ForeColor property to specify the control's foreground color. Use the BackColor property to specify the control's background color. Use the Font property to specify the control's font.

The following VB sample disables the control:

CascadeFile1.Enabled = False

The following C++ sample disables the control:

m_cascadefile.SetEnabled( FALSE );

The following VB.NET sample disables the control:

AxCascadeFile1.Enabled = False

The following C# sample disables the control:

axCascadeFile1.Enabled = false;

The following VFP sample disables the control:

With thisform.CascadeFile1
    .Object.Enabled = False
EndWith