Welcome
ListIcon
1.0.0.0
ListIcon.Create
ListIcon.AddColumn
ListIcon.RemoveColumn
ListIcon.CountColumns
ListIcon.AddRow
ListIcon.RemoveRow
ListIcon.LoadIcon
ListIcon.CountRows
ListIcon.SetSelected
ListIcon.GetSelected
ListIcon.SetItemSelected
ListIcon.GetItemSelected
ListIcon.SetItemChecked
ListIcon.GetItemChecked
ListIcon.SetDisplayType
ListIcon.Redraw
(number) ListIcon.Create ( | (number) ListIconID, (number) WindowID, (string) Title, (number) TitleWidth, (string) Flags ) |
Creates a ListIcon object and embeds it into the window passed in the WindowID argument.
Note: Once a ListIcon is created, its list of items is empty.
(number) The numeric ID that will be used to perform actions on this ListIcon.
(number) The window handle of the container for the ListIcon.
(string) 'Title' is the first column title
(number) 'TitleWidth' its initial width (in pixels) of the first column.
(string) Set various flags.
Note: Flags are always optional.
More than one flag can be passed, join valiable flags with (..) and use direct values like 46 would set LV_FullRowSelect and LV_AlwaysShowSelection.
CONSTANT | VALUE | DESCRIPTION |
LV_CheckBoxes | 1 | Display checkboxes in the first column. |
LV_MultiSelect | 2 | Enable multiple selection. |
LV_GridLines | 3 | Display separator lines between rows and columns. |
LV_FullRowSelect | 4 | The selection covers the full row instead of the first column. |
LV_HeaderDragDrop | 5 | The order of columns can be changed using drag'n'drop. |
LV_AlwaysShowSelection | 6 | The selection is still visible, even when the object does not have focus. |
(number)
(number) ListIcon.AddColumn ( | (number) ListIconID, (number) Column, (number) Width, (string) Title ) |
Adds a column to the specified ListIcon
Note: When you add a column, all the old columns which are on the right of the new column will have a position which is one more than they previously had.
(number) The numeric ID of the ListIcon object.
(number) The position specifies the column index where the new item should be inserted.
Note: Column indexes start from 1, which is the leftmost column, and increase by 1 for each column to the right.
(number) The initial Width of the new column.
(string) The title for this new column.
(number)
ListIcon.RemoveColumn ( | (number) ListIconID, (number) Column ) |
Removes a column from the specified ListIcon
(number) The numeric ID of the ListIcon object.
(number) The position specifies the column index that should be removed.
Note: Column indexes start from 1, which is the leftmost column, and increase by 1 for each column to the right.
This action dose not return any value.
(number) ListIcon.CountColumns ( | (number) ListIconID ) |
Returns the number of columns in a listview object.
(number) The numeric ID of the ListIcon object.
Note: Column indexes start from 1, which is the leftmost column, and increase by 1 for each column to the right.
(number)
(number) ListIcon.AddRow ( | (number) ListIconID, (string) RowText ) |
Adds a row of items to the specified ListIcon.
(number) The numeric ID of the ListIcon object.
(string) The position specifies the column index where the new item should be inserted.
Note: Column indexes start from 1, which is the leftmost column, and increase by 1 for each column to the right.
(number) If you want to add content to ListIcons with several columns using ListIcon.AddRow(), you should use the format "first column"..String.Char(10).."second one" as RowText parameter.
ListIcon.RemoveRow ( | (number) ListIconID, (number) Row ) |
Removes a row from the specified ListIcon
(number) The numeric ID of the ListIcon object.
(number) The position specifies the row index that should be removed.
Note: Row indexes start from 1, which is the first row.
This action dose not return any value.
ListIcon.LoadIcon ( | (string) ImagePath ) |
Returns a image handle from the ImagePath, this image can then be displayed in the ListIcon object.
(string) The full path to the image to load (.bmp, .png and .ico formats supported)
This action dose not return any value.
(number) ListIcon.CountRows ( | (number) ListIconID ) |
Returns the number of rows in a listview object.
(number) The numeric ID of the ListIcon object.
(number)
ListIcon.SetSelected ( | (number) ListIconID, (number) Row ) |
Sets the selected row in a ListIcon object.
(number) The numeric ID of the ListIcon object.
(number) The Index of the row you want to select.
Note: Row indexes start from 1, which is the first row.
This action dose not return any value.
(number) ListIcon.GetSelected ( | (number) ListIconID ) |
Gets the selected row in a ListIcon object.
(number) The numeric ID of the ListIcon object.
(number)
ListIcon.SetItemSelected ( | (number) ListIconID, (number) Row, (boolean) Selected ) |
Sets the row selected in a ListIcon object with the LV_MultiSelect used in ListIvon.Create()
(number) The numeric ID of the ListIcon object.
(number) Row indexes start from 1, which is the first row.
(boolean) True is the row is selected.
This action dose not return any value.
(boolean) ListIcon.GetItemSelected ( | (number) ListIconID, (number) Row ) |
Checks if a row is selected.
(number) The numeric ID of the ListIcon object.
(number) The Index of the row you want to get the selected state for.
Note: Row indexes start from 1, which is the first row.
(boolean)
ListIcon.SetItemChecked ( | (number) ListIconID, (number) Row, (boolean) Checked ) |
Sets a row checked state in a ListIcon object with the LV_CheckBoxes used in ListIvon.Create()
(number) The numeric ID of the ListIcon object.
(number) The Index of the row you want to check.
Note: Row indexes start from 1, which is the first row.
(boolean) True is the row is checked.
This action dose not return any value.
(boolean) ListIcon.GetItemChecked ( | (number) ListIconID, (number) Row ) |
Gets a row checked state in a ListIcon object with the LV_CheckBoxes used in ListIvon.Create()
(number) The numeric ID of the ListIcon object.
(number) The Index of the row you want to get the checked state for.
Note: Row indexes start from 1, which is the first row.
(boolean)
ListIcon.SetDisplayType ( | (number) ListIconID, (number) DisplayType ) |
Sets a ListIcon objects display mode,
(number) The numeric ID of the ListIcon object.
(number) A ListIcon can have four display modes, each a little different, small icon, large icon, list and report (column).
CONSTANT | VALUE | DESCRIPTION |
LV_Report | 1 | Report mode (columns, default mode) |
LV_List | 2 | List mode |
LV_SmallIcon | 3 | Small Icon mode |
LV_LargeIcon | 4 | Large Icon mode |
This action dose not return any value.
ListIcon.Redraw ( | (number) ListIconID ) |
Redraws the listicon inside its parent container, use when resizing.
(number) The numeric ID of the ListIcon object.
This action dose not return any value.
This File Was Generated With AMS ActionFile Editor