# User Defined Errors in Natural Dialogs

**URL:** <https://techcommunity.softwareag.com/t/user-defined-errors-in-natural-dialogs/75105>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [July 26, 2007, 9:55pm UTC](https://techcommunity.softwareag.com/t/user-defined-errors-in-natural-dialogs/75105 "2007-07-26T21:55:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chofo](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/chofo/32/119_2.png) [@Chofo](https://techcommunity.softwareag.com/u/Chofo)\
**Post date:** [July 26, 2007, 9:55pm UTC](https://techcommunity.softwareag.com/t/user-defined-errors-in-natural-dialogs/75105/1 "2007-07-26T21:55:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 2, 2007, 8:07pm UTC](https://techcommunity.softwareag.com/t/user-defined-errors-in-natural-dialogs/75105/2 "2007-08-02T20:07:24Z")

</div>

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

```auto
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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:48pm UTC](https://techcommunity.softwareag.com/t/user-defined-errors-in-natural-dialogs/75105/3 "2021-04-02T14:48:35Z")

</div>


