RE: Differents: Dialog.ShowMsg & Dialog.ShowStatus

heeb@oberon.ch
Mon, 14 Oct 1996 11:43:49 +0200

> Because of the documentation, I thought there must be a different in the
> presentation of the string to the user between Dialog.ShowMsg and
> Dialog.ShowStatus. I use a WIN-NT and Win311 as Operating-System. Why has
> both procedures the same behaviour? Is this a bug? Or do I use this
> procedures wrong?

Dialog.ShowStatus writes to the status bar if one is present. In absence of a
status bar the message is discarded.

Dialog.ShowMsg does multiple things:
- If a status bar is present it writes to the status bar.
- If a log Text is available it writes to the log text.
- If neither a status bar nor a log text is available, a dialog box is opened.

If you have a status bar but no log Text, the two procedures do the same.
The status bar can be disabled by setting Dialog.showsStatus to FALSE.

Beat Heeb

Oberon microsystems AG