showother
showother
FIELD
,
CODE

The showother statement forces Panorama to update some data on the screen.

Parameters

This statement has two parameters:

field – is the name of the field to update. If you want all fields to be updated, use «» or `""`.

code – is a number that specifies what information should be displayed (see below).

Description

The showother statement forces Panorama to update some data on the screen. The showother statement allows you to access Panorama’s internal display routines. However, you should avoid using this routine when one of the other show statements can be used instead (showpage, showline, showvariables, showcolumns, showvariables, or showrecordcounter).

The showother statement uses a code to specify what needs to be displayed. The available codes are:

4 | update after insertline
5 | move cursor up/down
6 | new line with cursor move
97 | record count (use ShowRecordCounter instead)
98 | column header change (changed field name)
99 | database redesign (insert field, etc)

This example renames all of the fields in the database, using the data in the current record as the new field names. The new field names are not displayed until the end of the procedure.

    noshow
        field firstline(dbinfo("fields",""))
        loop
           fieldname «»
           right
        until info("stopped")
       showother «»,98 // display all new field names
    endnoshow

See Also

- 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.
- setbannermessage -- sets the text in the toolbar banner to an arbitrary message.
- 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.
- 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.0 | Updated | Carried over from Panorama 6.0, but some codes are no longer available. We believe that no one ever used the discontinued codes.