Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## list-view-item-position

Arguments: list-view-item &optional position

This function returns a position object indicating the distance of the upper-left corner of a `list-view-item` from the inner upper-left corner of its `list-view` control. If the position argument is non-nil, then it should be a position object which will be destructively modified and returned, in order to avoid consing a new position object to return.

(setf list-view-item-position) may be called to programmatically move a list-view-item. This is probably useful only when the layout-style is either :small-icon or :large-icon. Note that (setf list-view-item-position) does not have the optional position argument. If the auto-arrange property of the list-view control has been turned on, then moving an item will result in all of the items immediately being arranged once again into a rectangular array, with the moved item being placed at the position closest to the arbitrary position to which it was moved.

See `list-view`.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version