HasChanges Event

Applies to TestComplete 15.62, last modified on March 19, 2024

Occurs when the in-place editor is closed, to check if the edit value has been modified.

Declaration

HasChanges(Data) Parameters
Data [in] Required Object
Result     Boolean  

Description

When an in-place editor used by a custom keyword test operation in the Keyword Test editor is closed, the HasChanges event occurs for the operation to check if the value is the editor has changed. If the event handler returns True, a number of additional events are then raised to validate the new value and to apply the changes to the operation (see Remarks). The default event handler used by TestComplete always returns True.

Parameters

The event has the following parameter:

Data

An object that provides access to the operation fields. This object contains properties that correspond to individual operation fields and whose names coincide with the field names.

Return Value

True if the value in the in-place editor has been changed; otherwise False.

Remarks

When an in-place editor is closed, events occur in the following order:

See Also

Events Reference
StartEditing Event
GetEditValue Event
SetEditValue Event
Validate Event
ValidationMessage Event
ApplyChanges Event
Creating Keyword Test Operations

Highlight search results