Text Constant Control

This document covers the following topics:


Description

A text constant control displays non-modifiable text within a dialog. You use it, for example, to describe which data can be entered in an adjacent input field control. The text STRING in text constant controls may also contain a mnemonic key (&). If the end user presses the mnemonic key, the next input dialog element in the navigation sequence gets the focus.

Attributes for Text Constant Control

Attribute Name Query Set/Modify In Attr. Window
BACKGROUND-COLOUR-NAME X X/X X
BACKGROUND-COLOUR-VALUE X X/X X
CLIENT-HANDLE X X/X  
CLIENT-KEY X X/X  
CLIENT-VALUE X X/X  
ENABLED X X/X X
FIRST-CHILD X -/-  
FOLLOWS X X/X  
FONT-HANDLE X X/X X
FOREGROUND-COLOUR-NAME X X/X X
FOREGROUND-COLOUR-VALUE X X/X X
LAST-CHILD X -/-  
OWNER X X/-  
PARENT X X/-  
PREDECESSOR X -/-  
RECTANGLE-H X X/X X
RECTANGLE-W X X/X X
RECTANGLE-X X X/X X
RECTANGLE-Y X X/X X
STRING X X/X X
STYLE X X/- X
SUCCESSOR X -/-  
TYPE X X/-  
VISIBLE X X/X X

Events

This dialog element does not create events.