Description: Replaces the desktop DBGrid's standard edit action with a custom formula.
Execution: On desktop, this is the first DBGrid-component override checked before opening the record editor. If a valid formula exists, it runs and the standard editor is not opened. If it is absent, OnDblClick is checked next before the standard editor is used.
Arguments:
Argument_ComponentObjectID: object identifier configured for the DBGrid.
Argument_ComponentFilterID: filter identifier configured for the DBGrid.
Argument_DataID: identifier of the focused record.
Common arguments: The declared Argument_EventName, Argument_SenderName and Argument_SenderID values are not assigned consistently.
Result: Ignored. The presence of a valid formula, rather than its result, suppresses the standard editor.
Availability: Desktop DBForm DBGrid only. The web DBGrid does not register this event; use OnDblClick for the corresponding web override.
Example:
// Open or implement the required custom editor here.
ShowMessage("Custom edit action for record " + Argument_DataID);