GetColor

<< Click to Display Table of Contents >>

Navigation:  Quick3270 functions and statements >

GetColor

Description

Returns an Integer representing the color code at the given screen location.

Syntax

GetColor(row, col)

 

Parameters

Part

Type

Description

row

Integer

The row where the color attribute is read.

col

Integer

The column where color attribute is read.

GetColor Return Values.

The following values are returned:
0 – default Color/Green
1 – Blue
2 – Red
3 - Pink
4 – Green
5 – Turquoise
6 – Yellow
7 – White