Table of Contents

Change_Window_Font subroutine

Description

Utility subroutine that will change the font of text within a window.

Syntax

call Change_Window_Font(winID)

Parameters

The function has the following parameters:

ParameterDescription
winIDThe SYSREPOSWINS key of the window whose font is being changed (APPID**WINDOW_NAME).

If null, all windows in the current application will have their font changed.

See Also

Change_Popup_Font()

Remarks

The subroutine will display a Font dialog box.

Example

* Change all windows font

winID = ''

call Change_Window_Font(winID)

* Change a specific window's font

winID = "EXAMPLES**CUST_ENTRY"

call Change_Window_Font(winID)