HasChanges Event

Applies to TestComplete 15.42, last modified on August 01, 2022

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


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


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.


The event has the following parameter:


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.


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