Welcome
TreeList Action Plugin
1.0.0.0
Adds a powerful yet easy to use advanced Tree object to your AMS projects.
Commerical Plugin
More Info
Dean Hall (AKA) RizlaUK
luadevils.com
rizlauk@luadevils.com
Explorer objects require AMSWaves 'Memory' plugin for its call backsystem.
Memory Plugin
Copyright © 2010 Lua Devils
Copy folder 'TreeList' to your AMS install directory '\Plugins\Actions'
TreeList.AddColumn
TreeList.AddImage
TreeList.AddRow
TreeList.ClearRows
TreeList.CountColumns
TreeList.CountRows
TreeList.Create
TreeList.EnterKey
TreeList.ExtensionIcon
TreeList.ExtractIcon
TreeList.GetCellAlign
TreeList.GetCellBackColor
TreeList.GetCellFrontColor
TreeList.GetCellText
TreeList.GetColumnWidth
TreeList.GetEnable
TreeList.GetHeaderAlign
TreeList.GetHeaderHeight
TreeList.GetHeaderResize
TreeList.GetHeaderText
TreeList.GetPos
TreeList.GetRowChecked
TreeList.GetRowExpanded
TreeList.GetSelected
TreeList.GetSize
TreeList.GetUnpackPath
TreeList.GetVisible
TreeList.InsertColumn
TreeList.InsertRow
TreeList.LoadImage
TreeList.RemoveColumn
TreeList.RemoveImage
TreeList.RowImageIndex
TreeList.RowSubLevel
TreeList.SetBackColor
TreeList.SetCellAlign
TreeList.SetCellBackColor
TreeList.SetCellFrontColor
TreeList.SetCellText
TreeList.SetColumnWidth
TreeList.SetEnable
TreeList.SetFrontColor
TreeList.SetHeaderAlign
TreeList.SetHeaderHeight
TreeList.SetHeaderResize
TreeList.SetHeaderText
TreeList.SetPos
TreeList.SetRowChecked
TreeList.SetRowExpanded
TreeList.SetSelected
TreeList.SetSize
TreeList.SetUnpackPath
TreeList.SetVisible
TreeList.AddColumn ( | (number) TreeListID, (string) Text, (number) Width ) |
Add a new column to the Treelist object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(string) The title text for this column
(number) The width of this column.
This action dose not return any value.
(number) TreeList.AddImage ( | (number) TreeListID, (number) ImageID ) |
Adds an image to the objects imagelist.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The numeric ID of the image.
(number) The index of this icon in the objects imagelist. (index starts at "1") if any error, nil is returned.
TreeList.AddRow ( | (number) TreeListID, (string) Text, (number) ImageIndex = nil, (number) SubLevel = nil ) |
Add a new row to the Treelist object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(string) The title text for this column
(number) The index of the image
Note: This is the index of the image as returned with "TreeList.AddImage"
(number) The 0 based index of the rows sublevel
This action dose not return any value.
TreeList.ClearRows ( | (number) TreeListID ) |
Clears all rows.
(number) The numeric ID of the object as returned with "TreeList.Create".
This action dose not return any value.
(number) TreeList.CountColumns ( | (number) TreeListID ) |
Counts the columns.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The number of columns or 0 if any error.
(number) TreeList.CountRows ( | (number) TreeListID, (boolean) OnlyVisible = false ) |
Counts the number of rows.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) Treu to count only visible rows.
(number) The number of rows, or 0 if any error.
(number) TreeList.Create ( | (number) X, (number) Y, (number) Width, (number) Height, (table) Flags = nil ) |
Creates a TreeList object.
(number) The X position of the object.
(number) The Y position of the object.
(number) The Width of the object.
(number) The Height of the object.
(table) Optional falgs table.
CONSTANT | VALUE | DESCRIPTION |
CheckBoxes | Boolean | Display checkboxes in the first column |
FullRowSelect | Boolean | The selection covers the full row instead of the first column. |
GridLines | Boolean | Display separator lines between rows and columns. |
AlwaysShowSelection | Boolean | The selection is still visible, even when the gadget is not activated |
HeaderDragDrop | Boolean | The order of columns can be changed using drag'n'drop. |
NoSortHeader | Boolean | The header dose not respone or send the "TreeList_HeaderItemClicked" event. |
HeaderHeight | Number | The height of the header bar (Default = 0) |
ColumnText | String | The text to display in the first column header. (Default = "") |
ColumnWidth | Number | The width of the first column. (Default = 100) |
RowHeight | Number | The default height for the tree rows. (Default=24) |
(number) A unique numeric ID for this object, else nil if any error.
TreeList.EnterKey ( | (string) Key ) |
Enter your serial key here.
(string) Your serial key.
This action dose not return any value.
(number) TreeList.ExtensionIcon ( | (string) Extension ) |
Gets the default system icon for the given file extension.
Note: File Types (.ico, ipng and .bmp) are supported.
(string) the extension of the icon to extract.
(number) A numeric ID for this icon, else nil if any error.
(number) TreeList.ExtractIcon ( | (string) FilePath, (number) IconIndex ) |
Extracts a icon from a binary file (exe, dll etc)
(string) The path to the resource file.
(number) The index of the icon to extract.
(number) A numeric ID for this icon, else nil if any error.
(number) TreeList.GetCellAlign ( | (number) TreeListID, (number) Row, (number) Column ) |
Gets the text alignment of a cell.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The cell alignment, if any error, 0 is returned.
0 = Left (Default)
1 = Center
2 = Right
(number) TreeList.GetCellBackColor ( | (number) TreeListID, (number) Row, (number) Column ) |
Gets a cell's background color.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The decimal color value, else -1 if any error.
(number) TreeList.GetCellFrontColor ( | (number) TreeListID, (number) Row, (number) Column ) |
Gets a cell's text color.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The decimal color value, else -1 if any error.
(string) TreeList.GetCellText ( | (number) TreeListID, (number) Row, (number) Column ) |
Gets the text of a cell.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(string) The text displayed in the indecated cell, else if any error a blank string ("") is returned.
(number) TreeList.GetColumnWidth ( | (number) TreeListID, (number) Index ) |
Gets the width of a column.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(number) The width of the column, else 0 if any error.
(boolean) TreeList.GetEnable ( | (number) TreeListID ) |
Gets the enabled state of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) True if the object is enabled, false if not or if any error.
(number) TreeList.GetHeaderAlign ( | (number) TreeListID, (number) Row, (number) Column ) |
Gets the text alignment of a column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index of the Row.
(number) The 0 based index of the Column.
(number) The header alignment, if any error, 0 is returned.
0 = Left (Default)
1 = Center
2 = Right
(number) TreeList.GetHeaderHeight ( | (number) TreeListID ) |
Sets the height of the column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The height of the column header bar, else 0 if any error.
(boolean) TreeList.GetHeaderResize ( | (number) TreeListID ) |
Gets wether the columns can be resized.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) Treu if the header can resize the columns, false if not or if any error.
(string) TreeList.GetHeaderText ( | (number) TreeListID, (number) Index ) |
Gets the title text of a column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(string) The text displayed in the indecated header cell, else if any error a blank string ("") is returned.
(table) TreeList.GetPos ( | (number) TreeListID ) |
Gets the position of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(table) A table containing the object's current coordinates, indexed by values X and Y. If the object cannot be found, nil will be returned.
(boolean) TreeList.GetRowChecked ( | (number) TreeListID, (number) Index ) |
Gets the checked state of a row.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(boolean) True if the row is checked, false if not or if any error.
(boolean) TreeList.GetRowExpanded ( | (number) TreeListID, (number) Row ) |
Gets the expanded state of a row.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(boolean) True if the row is expanded, false if not or if any error.
(number) TreeList.GetSelected ( | (number) TreeListID ) |
Gets current selected item.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The o based index of the selected item, -1 if no selection or if any error.
(table) TreeList.GetSize ( | (number) TreeListID ) |
Gets the size (in pixels) of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(table) A table containing the object's pixel dimensions, indexed by values "Width" and "Height." If the object cannot be found, nil will be returned.
(string) TreeList.GetUnpackPath () |
Gets the unpack path for the intrenal dll.
(string) The path to the folder where the internal dll will be unpacked.
(boolean) TreeList.GetVisible ( | (number) TreeListID ) |
Gets the visible state of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) True if the object is visible, false if not or if any error.
TreeList.InsertColumn ( | (number) TreeListID, (number) Index, (string) Text, (number) Width ) |
Inserts a new column into the Treelist object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(string) The title text for this column
(number) The width of this column.
This action dose not return any value.
TreeList.InsertRow ( | (number) TreeListID, (number) Row, (string) Text, (number) IconIndex = nil, (number) SubLevel = nil ) |
Inserts a new row into the Treelist object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(string) The title text for this column
(number) This is the index of the image.
Note: This is the index of the image as returned with "TreeList.AddImage"
(number) The 0 based index of the rows sublevel
This action dose not return any value.
(number) TreeList.LoadImage ( | (string) ImagePath ) |
Loads a image file into memory for later use.
Note: File Types (.ico, ipng and .bmp) are supported.
(string) The path to the image file.
(number) A numeric ID for this image/icon, else nil if any error.
TreeList.RemoveColumn ( | (number) TreeListID, (number) Index ) |
Removes a column from the Treelist object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
This action dose not return any value.
TreeList.RemoveImage ( | (number) TreeListID, (number) ImageImdex ) |
Removes an image from the objects imagelist.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The index of the image.
This action dose not return any value.
TreeList.RowImageIndex ( | (number) TreeListID, (number) Row, (number) Index ) |
Sets imageindex for this row.
Note: Set to 0 to remove the icon for this item.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The image index, 0 to remove icon.
This action dose not return any value.
(number) TreeList.RowSubLevel ( | (number) TreeListID, (number) Row ) |
Gets the 0 based sublevel index of the row.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based subindex of this item, 0 is the main nodes, 1 is the forst subnode, 2 is the second subnode etc...
If any error, 0 is returned.
TreeList.SetBackColor ( | (number) TreeListID, (number) Color ) |
Sets the background color.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The decimal color value.
This action dose not return any value.
TreeList.SetCellAlign ( | (number) TreeListID, (number) Row, (number) Column, (number) Align ) |
Sets the text alignment of a cell.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The alignment for this cell
Note: If Row or Column set to -1, text allignment applys to all cells in this column.
CONSTANT | VALUE | DESCRIPTION |
TL_LEFT | 0 | Align text to the left. (Default) |
TL_CENTER | 1 | Align text to the center. |
TL_RIGHT | 2 | Align text to the right. |
This action dose not return any value.
TreeList.SetCellBackColor ( | (number) TreeListID, (number) Row, (number) Column, (number) Color ) |
Sets a cell's background color.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The decimal color value.
This action dose not return any value.
TreeList.SetCellFrontColor ( | (number) TreeListID, (number) Row, (number) Column, (number) Color ) |
Sets a cell's text color.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(number) The decimal color value.
This action dose not return any value.
TreeList.SetCellText ( | (number) TreeListID, (number) Row, (number) Column, (string) Text ) |
Sets the text of a cell.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(number) The 0 based index of the column.
(string) The new text for this cell.
This action dose not return any value.
TreeList.SetColumnWidth ( | (number) TreeListID, (number) Index, (number) Width ) |
Sets the width of a column.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(number) The new width for this column.
This action dose not return any value.
TreeList.SetEnable ( | (number) TreeListID, (boolean) Enabled ) |
Sets the enabled state of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) True to enable the object.
This action dose not return any value.
TreeList.SetFrontColor ( | (number) TreeListID, (number) Color ) |
Sets the front color (text, gridlines)
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The decimal color value.
This action dose not return any value.
TreeList.SetHeaderAlign ( | (number) TreeListID, (number) Row, (number) Column, (number) Align ) |
Sets the text alignment of a column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index of the Row.
(number) The 0 based index of the Column.
(number) The text alignment
CONSTANT | VALUE | DESCRIPTION |
TL_LEFT | 0 | Align text to the left. (Default) |
TL_CENTER | 1 | Align text to the center. |
TL_RIGHT | 2 | Align text to the right. |
This action dose not return any value.
TreeList.SetHeaderHeight ( | (number) TreeListID, (number) Height ) |
Sets the height of the column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The new height for the header.
This action dose not return any value.
TreeList.SetHeaderResize ( | (number) TreeListID, (boolean) Resize ) |
Sets wether the columns can be resized.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) True to enable header resizeing.
This action dose not return any value.
TreeList.SetHeaderText ( | (number) TreeListID, (number) Index, (string) Text ) |
Sets the title text of a column header.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the position to insert.
(string) The new text for this column.
This action dose not return any value.
TreeList.SetPos ( | (number) TreeListID, (number) X, (number) Y ) |
Sets the position of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The new X position of the object.
(number) The new Y position of the object.
This action dose not return any value.
TreeList.SetRowChecked ( | (number) TreeListID, (number) Row, (boolean) Checked ) |
Sets the checked state of a row.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(boolean) True to check the row.
This action dose not return any value.
TreeList.SetRowExpanded ( | (number) TreeListID, (number) Row, (boolean) Expaned ) |
Sets the expanded state of a row.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
(boolean) True to expand the row.
This action dose not return any value.
TreeList.SetSelected ( | (number) TreeListID, (number) Row ) |
Sets current selected item.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The 0 based index if the row.
Note: Set Index = -1 to clear selection
This action dose not return any value.
TreeList.SetSize ( | (number) TreeListID, (number) Width, (number) Height ) |
Sets the size (in pixels) of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(number) The new width of the object.
(number) The new height of the object.
This action dose not return any value.
TreeList.SetUnpackPath ( | (number) FolderPath ) |
Sets the unpack path for the intrenal dll.
(number) The path to the folder to unpack the dll to.
This action dose not return any value.
TreeList.SetVisible ( | (number) TreeListID, (boolean) Visible ) |
Sets the visible state of the object.
(number) The numeric ID of the object as returned with "TreeList.Create".
(boolean) True to show the object.
This action dose not return any value.
Copyright © 2010 Lua Devils
This File Was Generated With AMS ActionFile Editor