RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.SetPosition Method

Positions the list item in its list view control.

Pascal
procedure SetPosition(const Value: TPoint);
C++
__fastcall SetPosition(const TPoint Value);

Call SetPosition to move the list item to a specified position. The Value parameter specifies the desired coordinates of the upper left corner of the list item.

Note: The list view control must have its ViewStyle property set to either vsIcon or vsSmallIcon.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!