[Overview][Types][Classes][Procedures and functions][Index] |
Sets the size for Columns in the list view.
Source position: shellctrls.pas line 230
protected procedure TCustomShellListView.Resize; override; |
Resize is a method used to set the size for Columns in the list view control. Resize calls the inherited method, and checks the Columns defined for the control. The Width property is used to determine the layout sizes applied to the columns for the control.
No actions (other than calling the inherited method) are performed if fewer than 3 (three) columns are defined for the control. This is the number of columns defined in the constructor for the vsReportViewStyle.
Resize is used in the implementation of the Create constructor, and can be called to adjust the layout for the control when the Width property has been changed.
|
Constructor for the class instance. |
|
|
Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16). |
|
|
Collection with the column definitions for the list view control (size, alignment, image index, etc.). |
|
|
||
|
Represents the view styles available for the items in a list view control. |
|
|
The horizontal size for the control. |