Replacing the global error message box in Clarion 6 with one that has an extra button

Applies to: Clarion 6.0, as the original poster named it.

Problem

The original poster wanted to change the message box used by all his apps and add a button that captures the screen, saves it as a jpg, opens a web based bug tracker and submits the image, with a description typed by the user. He asked whether a commercial template does this.

Solution

  1. Hook the message box with SYSTEM{PROP:MessageHook} = Address(FunMessage), where FunMessage is the function that holds your code. A poster pasted this as a global embed with priority 4000 (a setup-program embed).
  2. A commercial alternative named in the thread was the CapeSoft Messagebox accessory; one poster uses it and said it also gives an easy place for a debugger breakpoint.
  3. A poster noted that CapeSoft ended Clarion 6 support at the end of 2013, so he recommended reading up on PROP:MessageHook in the Clarion docs and coding it. He added that the Messagebox build still works and is still available.

Caveats

  • The original poster said he would implement it and post back; no result is in the thread.
  • One poster said the product still works for apps that cannot be updated.
  • The thread gives no code for the screen capture or the bug tracker upload.

Today (2026)

Not re-tested. Check the current docs for PROP:MessageHook before relying on this.

Sources: Femi (Jan 2014, the question), Roland G. (Jan 2014), Carl S. (Jan 2014), Bruce J. (Jan 2014) in comp.lang.clarion.