FormActiveXControl.enabled Method

Definition

Overloads

enabled()

Determines whether to enable or disable the object.

enabled(Boolean)

enabled()

Determines whether to enable or disable the object.

public:
 override bool enabled();
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public override bool enabled ();
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
override this.enabled : unit -> bool
Public Overrides Function enabled () As Boolean

Returns

true if the object is enabled; otherwise, false.

Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

The enabled property allows controls to be enabled or disabled at run time. For example, you can disable objects that do not apply to the current state of the application. You can also disable a control that is used only for display purposes, such as an error message, which provides read-only information.

Applies to

enabled(Boolean)

public:
 override bool enabled(bool _value);
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public override bool enabled (bool _value);
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
override this.enabled : bool -> bool
Public Overrides Function enabled (_value As Boolean) As Boolean

Parameters

_value
Boolean

A Boolean value that specifies whether the control is enabled; optional.

Returns

Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Applies to