Description: Runs the lookup ListBox's default formula after its selected value changes.
Execution: A desktop ListBox click calls UpdateValue. For a real selection change, the new value is written to the connected entry and component notifications are sent before this event. The component then recalculates the DBForm, runs the formula, and recalculates again when a valid formula exists.
Error behavior: The executor reports success as soon as a valid formula is found and does not revoke it after a calculation error. Therefore the second recalculation also occurs after such an error.
Arguments: There are no event-specific arguments. The custom executor does not populate Argument_EventName, Argument_SenderName or Argument_SenderID. The connected entry already contains the new selection.
Result: The calculated value is kept only in a local variable and is ignored. Use the formula for side effects or entry assignments.
Availability: Desktop only. The web factory branch for LuListBox is disabled, so no web component or event is created.
Example:
ShowMessage("The lookup ListBox selection changed");