SCREENOPT

Purpose:

Selects Worksheet elements to be visible on or hidden from the screen display.

Syntax:

SCREENOPT(legends, titles, wcaption, wborder, wmargin)

legends

-

Optional. An integer, the legend display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

titles

-

Optional. An integer, the Window title flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

titles specifies the text that serves as a Window title that is not displayed in the Window caption area.

wcaption

-

Optional. An integer, the Window caption display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wcaption specifies the text for the Window number, Window formula and/or Window label in the Window caption area.

wborder

-

Optional. An integer, the outer Window border display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wborder specifies the outer border outline of each Window.

wmargin

-

Optional. An integer, the inner Window border display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wmargin specifies the border outline on the inner Window separating the inner Window from the Window plotting margin.

Example:

screenopt(1,1,0,0,0)

 

leaves legends and titles in the Worksheet display, and disables the display of Window bars, borders, and margins.

 

screenopt(-1,-1,1)

 

leaves all the settings as they currently are, and enables the display of the Window bars.

Remarks:

SCREENOPT and PRINTOPT are particularly useful in formatting the Worksheet display for presentations, demonstrations, printouts, and custom applications.

 

All parameters are optional integer arguments, defaulting to current values. Use -1 to leave a parameter unchanged.

 

Changes made to screen options are stored as configuration parameters in the dadisp.ses file, and will be the default settings in the next session.

See Also:

LAYOUT

PRINTING AND PLOTTING FUNCTIONS

PRINTOPT

PRINT PREVIEW FUNCTIONS