setbannermessage
setbannermessage
MESSAGE
,
DATABASE

The setbannermessage statement sets the text in the toolbar banner to an arbitrary message.

Parameters

This statement has two parameters:

message – is the new message text. If empty, the message is reset to the default message (the database record count).

database – is the database where the progress is to be displayed. This parameter is optional, if omitted or empty, the current database is used.

Description

The setbannermessage statement changes the message in the toolbar banner.

    setbannermessage "Updating Database"

To clear the banner and return to the normal record count display, use an empty message.

    setbannermessage ""

Note: The message will appear in all data windows associated with the current database, not just the current window. You can also specify that the message be displayed in the toolbar banner of a different database, like this:

    setbannermessage "Updating Database","Checkbook"

To find out what the current banner message is, use the dbinfo( function with the bannermessage option.

See Also

- dbinfo( -- gets information about a database: what forms it contains, what fields, what flash art pictures, etc.
- endnoshow -- resumes the output of text and graphics after it has been disabled with the noshow statement.
- endshowlater -- resumes the immediate display of text and graphics after it has been deferred with the showlater statement.
- fontcharacters( -- returns a string (text) containing all of the characters supported by the specified font.
- fontinfo( -- returns a dictionary with information about a specified font.
- hide -- temporarily disables the output of text and graphics.
- info("noshow") -- returns true if noshow is currently turned on, false if it is not.
- measuretext( -- returns the size of a string of text in a particular font and size.
- noshow -- temporarily disables the output of text and graphics.
- richtextdata( -- adjusts text so that it will display properly in rich text even if it contains a < character.
- richtextdisplay( -- works with Text Display objects to display text with multiple styles, fonts, colors and alignments.
- setbannericon -- sets the icon on the right side of the toolbar banner.
- setbannerprogressbar -- displays progress in the toolbar banner.
- show -- resumes the output of text and graphics after it has been disabled and then forces Panorama to redisplay all windows in the current database.
- showcolumns -- forces Panorama to display specified fields.
- showfields -- forces Panorama to display specified fields.
- showlater -- defers the display of text and graphics until the procedure is finished.
- showline -- forces Panorama to redisplay the current record in all windows in the current database.
- showother -- forces Panorama to update some data on the screen.
- showpage -- forces Panorama to redisplay all windows in the current database.
- showrecordcounter -- forces Panorama to redisplay the record counter in all windows in the current database.
- showvariables -- forces Panorama to update the display of one or more variables on every form in the active database.
- textdisplay( -- works with Text Display Objects to control the color and style of text on the fly.

History

Version | Status | Notes
10.2 | New | New in this version.