Description: Replaces the Memo's standard wizard and calculates a new value for its connected entry.
Execution: Runs when the user activates the Memo wizard and a valid OnShowWizard formula is configured. A valid formula takes precedence over the standard most-common/latest-value selector or editor. Calculation failure does not reopen the standard wizard.
Arguments: Argument_Left and Argument_Top are declared but are not populated on either desktop or web. The custom executor also does not populate the common event arguments; do not rely on these values.
Result: Return the new Memo value, using a type compatible with the connected entry. Despite the formula metadata declaring NeedResult=False, both desktop and web use Result as the new value.
Platform note: Desktop assigns the result to the visual Memo and then follows the normal UpdateValue change chain. Web writes the result directly to EntryData.CurValue before calling UpdateValue; because the value can then appear unchanged, the normal Changed, OnChange and component-notification chain may be skipped.
Example:
Result := "Text selected by the custom wizard";