SET-AUX-FONT Action

This document covers the following topics:


Description

Sets an auxilliary font for a dialog element.

An auxilliary font is an additional font to those that can be selected via the FONT-HANDLE attribute (if available).

Parameters

Name/Data Type Explanation
Control

(HANDLE OF GUI)

Input

Handle of dialog element to which the font is to be applied.

Part (I4) Input

Defines the font of the dialog element to be set. The interpretation is specific to the type of dialog element (see below).

Font

(HANDLE OF FONT)

Input

Handle of font to be set.

Response (I4) Output

Natural error (if applicable).

The following auxilliary fonts are currently available:

Dialog Element Type Part Interpretation
Date/Time Picker 1 Font used by the drop-down month calendar (if present).

Example:

 
/* Set date/time picker's calendar font
PROCESS GUI ACTION SET-AUX-FONT WITH
  #DTP-1 1 #DLG$WINDOW.FONT-HANDLE GIVING *ERROR