Enumerations in EGL

In some cases in EGL, the values of a property or field are restricted to the values of a particular enumeration, which is a category of predefined values. The property color, for example, accepts a value of the enumeration ColorKind, and valid values of that enumeration include white and red.

You can qualify an enumeration value with the enumeration name, so the preceding values can be stated as ColorKind.white and ColorKind.red. However, you need to qualify the enumeration value only when your code has access to a variable or constant whose name is the same as the enumeration value. If a variable named red is in scope, for example, the symbol red refers to the variable rather than to the enumeration value.

The following list of enumerations includes the enumeration values; but explanations of those values occur elsewhere, in the context of the property or field in which the enumeration is meaningful:

AlignKind
  • center
  • left
  • none
  • right
Boolean
  • yes
  • no
CallingConventionKind
  • I4GL
  • Library
CaseFormatKind
  • defaultCase
  • lower
  • upper
ColorKind
  • black (as is valid only for console fields)
  • blue
  • cyan
  • defaultColor
  • green
  • magenta
  • red
  • yellow
  • white
CommTypeKind
  • LOCAL
  • TCPIP
DataSource
  • databaseConnection
  • reportData
  • sqlStatement
DeviceTypeKind
  • doubleByte
  • singleByte
DisplayUseKind
  • button
  • hyperlink
  • input
  • output
  • secret
  • table
EventKind
  • AFTER_DELETE
  • AFTER_FIELD
  • AFTER_OPENUI
  • AFTER_INSERT
  • AFTER_ROW
  • BEFORE_DELETE
  • BEFORE_FIELD
  • BEFORE_OPENUI
  • BEFORE_INSERT
  • BEFORE_ROW
  • ON_KEY
  • MENU_ACTION
ExportFormat
  • html
  • pdf
  • text
  • xml
HighlightKind
  • blink
  • defaultHighlight
  • noHighlight
  • reverse
  • underline
IndexOrientationKind
  • across
  • down
IntensityKind
  • bold
  • defaultHighlight
  • dim
  • invisible
  • normalIntensity
LineWrapKind
  • character
  • compress (as is valid only for console fields)
  • word
OutlineKind
  • bottom
  • left
  • right
  • top
Note: sysLib.box is a constant that equates to [left,right,top,bottom]. sysLib.noOutline is a constant that means there is no outlining.
PCBKind
  • DB
  • GSAM
  • TP
PfKeyKind
  • pfn, where (1 <= n <=24)
ProtectKind
  • skip
  • no
  • yes
SelectTypeKind
  • index
  • value
SignKind
  • leading
  • none
  • parens
  • trailing
SignKind
  • leading
  • none
  • parens
  • trailing
UITypeKind
  • hidden
  • input
  • inputOutput
  • none
  • output
  • programLink
  • uiForm
WindowAttributeKind
  • color
  • commentLine
  • errorLine
  • formLine
  • highlight
  • intensity
  • menuLine
  • messageLine
  • promptLine

Related concepts
Overview of EGL properties
References to variables in EGL

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.