field_visual

Sets/gets field attributes.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

int field_visual([data[,[name|number] | [attribute,flag]]])
expr               data
int                attribute,number,flag
string             name

Description

If no parameters are given, the active field's visual attribute is returned.
data (optional) specifies the visual attribute index. Without qualifiers, all fields in the current window are assigned the same attributes.

name (optional) specifies the name of a field to which attributes are assigned.

number (optional) specifies the number of a field to which attributes are assigned. It must evaluate to a valid field sequence number.

attribute (optional) specifies a bitmask.

flag = true (optional) specifies that the attributes are assigned to all named fields; if only data is given, all fields in the current window are assigned the visual attributes.

Notes

See trim.h for examples of visual attributes.