ARRANGE Action

This document covers the following topics:


Description

Re-arranges the items belonging to the specified list view control according to a logical grid, if the list view is currently in one of the icon view modes.

The size of the logical grid can be modified from the default via updating the list view control's SPACING-X and SPACING-Y attribute values.

Parameters

Name/Data Type Explanation
Control

(HANDLE OF LISTVIEW)

Input

Handle of list view control whose items are to be re-arranged.

Snap (L) Input (optional parameter)

Snap to grid. FALSE=re-arrange to contiguous logical grid positions according to orientation determined by the presence or absence of the list view control's "Align vertically (v)" STYLE attribute flag (default); TRUE=move items to nearest aligned logical grid position.

Response (I4) Output

Natural error (if applicable).

Example:

PROCESS GUI ACTION ARRANGE WITH #LV-1 GIVING *ERROR