Specifications

DDE reference
176
Glink: API reference manual Gallagher & Robertson
GetFldN field_no Returns the field definition for the specified field
(VIP7700 and VIP7800 modes only). A single para-
meter specifying the field number is needed; you
may use a value of zero to specify the field currently
containing the cursor. The data returned is in the
same format as for GetFldX (see below).
GetFldX X Y Returns the field definition for the field containing
the screen location defined by X and Y (VIP7700
and VIP7800 modes only). The data returned is in
the following format:
N,X,Y,L,attributes,F
where N is the number of the field (counting variable
fields only), X is the column in which the field starts,
Y is the row containing the field, L is the length of
the field, and 'attributes' defines the field attributes
for the field. F is a flag indicating whether the emu-
lator is in forms mode (1) or not (0). If the emulator
is not in an appropriate mode then only the field
number will be delivered, with a value of -1. If a
GetFldN call is made with a field number larger
than the number of fields in the screen, then a field
number of zero will be returned. If a GetFldX is
made for a location inside a protected field then a
field number of zero will also be returned but in this
case, the field definition will be included.
Attributes are delivered as an eight-character
hexadecimal field.