Skip to content

Delegation_Mode - cObject

Include: Built in; no package required.

Controls unknown-message delegation.

Type: Property

Syntax

Property Integer Delegation_Mode

Description

Delegation_Mode controls what happens when an object receives an unknown message:

  • DELEGATE_TO_PARENT delegates to the parent.
  • NO_DELEGATE_OR_ERROR stops without raising an error.
  • NO_DELEGATION raises a DataFlex error.
  • RETURN_INVALID_MESSAGE returns the invalid message value.
  • DELEGATE_PRIOR_LEVEL delegates to the prior object in the call stack.