Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version