Vcl.ComCtrls.TCustomListView.Arrange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Arrange(Code: TListArrangement);

C++

void __fastcall Arrange(TListArrangement Code);

Properties

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

Description

Arranges icons in a list view that has a ViewStyle of vslcon or vsSmallIcon.

Call Arrange to clean up the arrangement of the icons when the ViewStyle property is vslcon or vsSmallIcon. The Code parameter specifies how to arrange the icons. These are the possible values for the Code parameter:



Value Meaning

arAlignBottom

Aligns items along the bottom edge of the list view.

arAlignLeft

Aligns items along the left edge of the window.

arAlignRight

Aligns items along the right edge of the window.

arAlignTop

Aligns items along the top edge of the window.

arDefault

Aligns items according to the style associated with the list view when the window was created. For TCustomListView, this is aligned along the top.

arSnapToGrid

Snaps all icons to the nearest grid position. This value is not supported if the application is running in virtual mode.



See Also