L_RESIZE

Resize a list

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall L_RESIZE(list_id, [items][, columns], {reserved})

Arguments

list_id

The ID of the list to resize. (n)

items

(optional) The number of items visible at a time. (n)

columns

(optional) The number of columns visible at a time. (n)

{reserved}

Reserved for internal use. (n)

Discussion

L_RESIZE resizes a list, including lists on tabs.

If items and/or columns is not passed, that current value for the list is not affected.

If columns exceeds the number of columns in the input window associated with the list, columns is automatically limited.

Examples

The following example resizes the list, whose ID is stored in order_lst, to have 5 items and the first 7 columns visible.

xcall l_resize(order_lst, 5, 7)