Version 6.3.13 for Windows
 —  Programming Guide  —

Working with a Status Bar

In a similar way as the dynamic information line, the status bar makes an event-driven application more user-friendly.

The programmer has two options to relate a dialog element to a status bar:

When you use the dialog editor, you will have to:

When you use Natural code, the above step may look like this:

... 
PERSDATA-DIALOG.HAS-STATUS-BAR := TRUE  /* Set HAS-STATUS-BAR To TRUE 
PERSADTA-DIALOG.STATUS-TEXT := 'HELLO'  /* Set the text to 'Hello' 
...

Note:
The STATUS-TEXT and the DIL-TEXT are displayed in the same area if the dialog has a status line and a text is displayed on the DIL.

Top of page