input_visual

Sets/gets the input field visual index.

Available in:

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

Syntax

int input_visual([vix])
int               vix

Description

vix (optional) specifies that the visual attribute index used to indicate the current input field is set to vix. If none is provided, then the function returns the field's current visual index. The vix default is 1, which typically indicates highlighting.

Specifying a vix of -1 turns off any changes for ``active'' fields.

The index's associated visual attributes are stored in .key files for each terminal type. (See Key Mapping in the DesignVision Users Guide for more information.)

Example

Changes the input visual attribute to blinking (see trim.vis).
input_visual(3);