Skip to content

IsEnabled - cCJClearMenuItem

Returns true if the focus object is a data entry object and a record clear is appropriate (if input data has changed)

Type: Function
Return Data Type: Boolean

Syntax

Function IsEnabled Returns Boolean

Call Example

Get IsEnabled to BooleanVariable

Description

IsEnabled returns true if the focus object is a data entry object and a record clear is appropriate (i.e., if input data has changed). A clear is appropriate if the focus object is a DEO whose DDO contains changed data. This is determined by calling the DEOInformation function.

This ensures that the object is enabled or disabled as needed.

Return Value

Returns true if a clear is appropriate, false if not