User Defined Errors in Natural Dialogs

How can i Issue an User defined error in a Dialog or event-driven development ?

Natura 6.1.1
Windows XP

Thanks for the Help

Here’s a sample of a pop-up window.

PROCESS GUI ACTION MESSAGE-BOX WITH #DLG$WINDOW  
                   'Text in body of window'  
                   'Window title'  
                   'S'   
            GIVING #RC

With the third parameter you can display an icon in the message box:
S severe error
I informational
! warning