Partilhar via


FormBuildDateTimeControl.enabled Method

Definition

Overloads

enabled(Boolean)
enabled()

Determines whether to enable or disable the object.

enabled(Boolean)

public:
 override bool enabled(bool _value);
public override bool enabled (bool _value);
override this.enabled : bool -> bool
Public Overrides Function enabled (_value As Boolean) As Boolean

Parameters

_value
Boolean

Returns

Applies to

enabled()

Determines whether to enable or disable the object.

public:
 override bool enabled();
public override bool enabled ();
override this.enabled : unit -> bool
Public Overrides Function enabled () As Boolean

Returns

true if the object is enabled; otherwise, false.

Remarks

The enabled property allows for 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