预订演示
前页 后页

EA_OnCustomTableEndEdit

EA_OnCustomTableEndEdit notifies Add-Ins that a Custom Table element is ending edit mode. This broadcast event can only be enabled by the Custom Table's operation 'script' behavior.

Syntax

Function EA_OnCustomTableEndEdit (Repository As EA.Repository, Info As EA.EventProperties)

The EA_OnCustomTableEndEdit function syntax contains these parameters.

Parameter

Type

See also

Repository

EA.Repository

Direction: IN

Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.

Repository Class

Info

EA.EventProperties

Direction: IN

Description: Contains this EventProperty object for the Custom Table that is under edit:

  • ObjectID - A long value corresponding to the ElementID of the object
EventProperties Class

Return Value

This function allows validation of the table data, and returns a Boolean value:

  • True to save the current data in the grid, or
  • False to abandon the current data