Share via


FormDateTimeControl.enabled Method

Determines whether to enable or disable the object.

Syntax

public boolean enabled([boolean value])

Run On

Client

Parameters

  • value
    Type: boolean
    A Boolean value that specifies whether the control is enabled; optional.

Return Value

Type: boolean
true if the object is enabled; otherwise, false.

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.

See Also

Reference

FormDateTimeControl Class