L_VIEW

Shift the horizontal display area of a list

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall L_VIEW(list_id, column)

Arguments

list_id

The ID of the list. (n)

column

The column position of the new display area. (n)

Discussion

L_VIEW shifts the horizontal display area of a list. The horizontal display can change in one of three ways:

L_VIEW is only used to shift the contents of the display area to the left or to the right, not to change its size. The display width of a list is fixed once the list is created. If column is less than 1, a column position of 1 will be used. If column is greater than the result of the following equation, the result of the equation will be used instead:

window_width - display_area_width + 1

In other words, the column in which the display area begins is automatically limited to boundaries that do not require changing the display area’s width.

Examples

The following example adjusts the column position of the list whose ID is stored in desc_lst to 20.

xcall l_view(desc_lst, 20)