Description: Replaces the DBGrid's standard record-edit action with a custom formula.
Execution on desktop: This is the second component override checked before the standard editor. It runs only if no valid OnBeforeEditRecord formula handled the action. A valid OnDblClick formula then suppresses the standard editor.
Execution on web: The formula is the component's external edit handler. It is invoked by the Edit button and can also be invoked by a grid double-click, so the event is not limited to literal double-clicks.
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 valid formula itself replaces the standard edit action.
Availability: DBForm DBGrid component on desktop and web, with the execution differences described above.
Example:
// Open or implement the required custom record action here.
ShowMessage("Custom action for record " + Argument_DataID);