company logo

GUIBaseContext :: doBeforeCancelData - Pre-event handler for Cancel action

The handler handles the DEV_Cancel data event in a Cancel action. When the event is fired, an instance in the property handle is still selected and can be accessed. The event handler may prevent data from being unselected by returning true, in which case data is not canceled.

The handler should return one of the following values:

  • -1 (not handled) - the event handler will be removed from the handler list and is not called anymore.
  • 1 (refuse) - Requested action will not be executed.
  • 0 (ok) - Action is permitted to be executed.

Implementation details

int32 GUIBaseContext  :: doBeforeCancelData (  )