Equinox Online Help - Language Reference - A to Z

Home

StatusLine

Applies to
SyntaxStatusLine MessageExpression [, DurationExpression]
Action[Statement] Displays one of two types of message on the status line - permanent or temporary messages.
ScopeUsable anywhere.
Notes

This statement displays a message on the Equinox status line. MessageExpression is the displayed message.

If DurationExpression is omitted, then the message is displayed indefinitely (a permanent message). A message may be removed by sending a blank message (with MessageExpression set to "") to the status line. If the message is blank then DurationExpression is ignored.

DurationExpression defines the period of time (in seconds) for which the message appears and creates a temporary status line message.

You should note that only one message can appear on the status line at one time.

A temporary status message has priority over a permanent message, so if a permanent message is set, a temporary message can over write it for it's DurationExpression with the status message returning to its permanent message at the expiry of the duration.

To remove a temporary StatusLine use StatusLine "",-1

If there are instances of an Equinox default status bar message being set, both the permanent and temporary messages would be overwritten for that duration.

Can now display up to 200 characters in MessageExpression.

CategoryUser dialogs
See Also Alert, AlertBitmaps, AlertButtons, Beep, Edit, HelpAbout, Input, InputPassword, Message, PopupColour_PopupColor, PopupFlags, PopupFont, PopupJustification, PopupSize, PopupTitle
Example

This example displays the message "Processing orders" on the status bar, for five seconds.

StatusLine "Processing orders", 5

This method displays a permanent message while a task is executing, then removes the permanent message and displays a temporary one.

Statusline "Executing final task"
execute method "Final"
Statusline ""
Statusline "The task has finished", 5