company logo

GUIBaseContext :: doAfterInsertData - Post-event handler after inserting new instance

The handler is called after inserting a new instance (line) in a tree or list ( DEV_Inserted event). The handler allows e.g. modifying the data for the instance created. The property handle for the newly created instance can be provided by calling currentProperty() .

The handler should return one of the following return codes:

  • -1 (not handled) - the event handler will be removed from the handler list and is not called anymore.
  • 1 (error) - Returning an error has no effect for post-events.
  • 0 (ok) - Event handler terminated successfully.

Implementation details

int32 GUIBaseContext  :: doAfterInsertData (  )