Version 6.3.8 für Windows
 —  Dialog Component Reference  —

Font Control

This document covers the following topics:


Description

A font control is used to display the STRING attribute value of a dialog element in a certain font face, size and style. It is generated automatically if you select a font in the attributes window of a dialog element. You should, however, not rely on the automatic generation of specific font control names. You can also create a font control dynamically by using the NGU-FONT-SELECT dialog from library SYSTEM. When you assign the handle value of this font control to the FONT-HANDLE attribute of another dialog element, the STRING of the other dialog element is displayed accordingly.

Example:

#TC-1.FONT-HANDLE := #FNT-1 
/* The STRING of the text constant control /* #TC-1 will be displayed in the face, 
/* style and size of #FNT-1.

Top of page

Attributes for Font Control

Attribute Name Query Set/Modify In Attr. Window
CLIENT-HANDLE X X/X  
CLIENT-KEY X X/X  
CLIENT-VALUE X X/X  
FIRST-CHILD X -/-  
LAST-CHILD X -/-  
PARENT X X/-  
PREDECESSOR X -/-  
STRING X X/- X
SUCCESSOR X -/-  
TYPE X X/-  

Top of page

Events

This dialog element does not create events.

Top of page