Specifications

COM+ reference
48
Glink: API reference manual Gallagher & Robertson
See also:
GlinkField, getFields()
getFieldsEx
GlinkFields getFieldsEx()
Returns the GlinkFields object associated with the current screen. GlinkFields
contains all the fields in the current screen. For formatted screens, this method
will return the very same as the getFields() method.
For unformatted screens where no fields are defined, this method will simulate
that one or more fields are defined. For VIP and DKU emulations set in text
mode, an input field will be defined from the position of the cursor to the end of
the line. For emulations running in character mode like VT, an input field will be
defined from the cursor position. The end of this field will be at the same line
but will depend of the line contents and attributes.
The rest of the screen will be presented as a fixed field. The result will often be
that three fields are defined for the screen (one fixed field, one variable field and
another fixed field at the end).
See also:
GlinkField, getFields ()
getForegroundColor
int getForegroundColor(int attribute)
Returns the RGB value for the given field or character attribute. The color
returned is affected by the Glink screen color settings for the current session.
Returns:
The RGB value (Bits 24-31 are 0xff, 16-23 are red, 8-15 are green, 0-7 are blue)
See also:
GlinkField
getGlinkEvent
GlinkEvent getGlinkEvent(int eventCode, long timeout)