getTTYAttributes()

Returns a list of the terminal (TTY) attributes of the focused table, tree, or matrix cell.

Syntax

getTTYAttributes(
    tableName  STRING,
    columnName STRING,
    row INTEGER )
    RETURNS DYNAMIC ARRAY OF STRING
  1. tableName is the name of the table, tree, or screen record.
  2. columnName is the column name.
  3. row is the row index value.

Usage

Use getTTYAttributes() to return a list of the TTY attributes of the row to test in a scenario. Use this method to test for style values, such as color, "reverse" , "blink", "dim", and so on, set using setArrayAttributes() or setCellAttributes().

CALL ggc.getTTYAttributes("sr_table","description", 25) RETURNING tty_values