Description: Runs when the user clicks the Label component.
Execution: Desktop and web use the same formula execution path. When a valid OnClick formula exists, it replaces the standard measure-unit menu. The menu is not opened after the formula, even if formula execution fails.
Arguments:
Argument_EventName: current event name.
Argument_SenderName: name of the Label component.
Argument_SenderID: identifier of the Label component.
Result: Any value assigned to Result has no effect. Use the formula to perform the required actions after the label is clicked.
Availability: DBForm Label component on desktop and web.
Example:
ShowMessage("The label was clicked");