Vcl.ComCtrls.TListItem.SetPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPosition(const Value: TPoint);

C++

void __fastcall SetPosition(const System::Types::TPoint &Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListItem

Description

Positions the list item in its list view control.

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.

See Also