WINCAPTION

Purpose:

Enables or disables the custom window caption font.

Syntax:

WINCAPTION(mode)

mode

-

An integer, the caption font mode:

0:

use system caption font

1:

use WINLABEL_FONT

If unspecified, the current caption font mode is returned.

Returns:

An integer, the previous caption font mode.

Example:

wincaption(1)

 

Enables custom window captions for all worksheet windows. The window caption font is set to the font specified by WINLABEL_FONT and the caption is adjusted to fit the font height.

Example:

wincaption(0)

 

The window caption is defaulted to the system caption font.

Remarks:

WINCAPTION enables or disables the use of WINLABEL_FONT to specify the window caption and applies to all worksheet windows.

 

WINLABEL_FONT still applies to the caption of hardcopy output even if the WINCAPTION mode is 0.

See Also:

LABEL

REDRAWALL