Welcome
ComboIcon Action Plugin
1.0.0.1
The ComboIcon is a powerful but easy to use advanced combobox object that supports variable size icons and custom colors.
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 ComboIcon' to your AMS install directory '\Plugins\Actions'
ComboIcon.AddItem
ComboIcon.CountItems
ComboIcon.Create
ComboIcon.EnterKey
ComboIcon.GetAlign
ComboIcon.GetBackCol
ComboIcon.GetEnabled
ComboIcon.GetIconSize
ComboIcon.GetItemHeight
ComboIcon.GetItemIcon
ComboIcon.GetItemText
ComboIcon.GetPos
ComboIcon.GetSelectBackCol
ComboIcon.GetSelectTextCol
ComboIcon.GetSelected
ComboIcon.GetSize
ComboIcon.GetTextCol
ComboIcon.GetUnpackPath
ComboIcon.GetVisible
ComboIcon.InsertItem
ComboIcon.LoadIcon
ComboIcon.RemoveItem
ComboIcon.Reset
ComboIcon.SetAlign
ComboIcon.SetBackCol
ComboIcon.SetEnabled
ComboIcon.SetIconSize
ComboIcon.SetItemHeight
ComboIcon.SetItemIcon
ComboIcon.SetItemText
ComboIcon.SetPos
ComboIcon.SetSelectBackCol
ComboIcon.SetSelectTextCol
ComboIcon.SetSelected
ComboIcon.SetSize
ComboIcon.SetTextCol
ComboIcon.SetUnpackPath
ComboIcon.SetVisible
(number) ComboIcon.AddItem ( | (number) nComboIconID, (string) Text, (number) IconID = nil ) |
Adds an item to the Comboicon object.
Note: The list is sorted automaticly after adding a item if "Sort" flag is set.
(number) The numeric ID of the object as returned with ComboIcon.Create
(string) The text to add the the ComboIcon object.
Note: Multiline text is supported (\r\n)
(number) The ID of the icon as returned with ComboIcon.LoadIcon
Note: The icon will be automaticly resized to the default icon size for the ComboIcon object.
You can change the default size of the displayed icon with "ComboIcon.SetIconSize".
(number) The return value is the zero-based index to the string in the list box of the combo box. If an error occurs, the return value is -1.
(number) ComboIcon.CountItems ( | (number) nComboIconID ) |
Conts the items in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The number of items currently in the list, if any error -1 is returned.
(number) ComboIcon.Create ( | (number) X, (number) Y, (number) Width, (number) Height, (table) Flags = nil ) |
Creates a ComboIcon 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) The optional falgs table.
CONSTANT | VALUE | DESCRIPTION |
Upper | 8192 | The text is displayed in upper case. |
Lower | 16384 | The text is displayed in lower case. |
Editible | 66 | The Comboicon is editible |
Sort | 256 | The ComboIcon Items are automaticly sorted. |
(number) Returns a numeric ID for the object, if any error then nil is returned.
ComboIcon.EnterKey ( | (string) Key ) |
Enter your key here.
(string) The key you recived whren you purchased this plugin.
This action dose not return any value.
(number) ComboIcon.GetAlign ( | (number) nComboIconID ) |
Gets the text alignment of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The text alignment state
0=Left (Default)
1=Center
2=Right
(number) ComboIcon.GetBackCol ( | (number) nComboIconID ) |
Gets the background color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value, is any error -1 is returned.
(boolean) ComboIcon.GetEnabled ( | (number) nComboIconID ) |
Get the enabled state of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(boolean) True if the button is enabled, false if it is disabled. If an error occurs, false will be returned.
(table) ComboIcon.GetIconSize ( | (number) nComboIconID ) |
Gets the icon size for the ComboIcon object.
Note: This is the global size for the icons and does not apply to individual items.
(number) The numeric ID of the object as returned with ComboIcon.Create
(table) A table containing the icons pixel dimensions, indexed by values "Width" and "Height." If any error nil will be returned.
(number) ComboIcon.GetItemHeight ( | (number) nComboIconID ) |
Sets the height of the ComboIcon items height.
Note: This is a global height and does not apply to individual items
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The height of the combos list items, if any error -1 is returned.
(number) ComboIcon.GetItemIcon ( | (number) nComboIconID, (number) Position ) |
Gets the IconID from the specified item in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item whos IconID to retrieve.
(number) The numeric ID of the items current icon, if the item contains no item or any error nil is retuened.
(string) ComboIcon.GetItemText ( | (number) nComboIconID, (number) Position ) |
Gets the text from the specified item in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item whos text to retrieve.
(string) A string containing the item's text. If an error occurs, a blank string "" will be returned.
(table) ComboIcon.GetPos ( | (number) nComboIconID ) |
Gets the position of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.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.
(number) ComboIcon.GetSelectBackCol ( | (number) nComboIconID ) |
Gets the selection background color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value, is any error -1 is returned.
(number) ComboIcon.GetSelectTextCol ( | (number) nComboIconID ) |
Gets the selection text color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value, is any error -1 is returned.
(number) ComboIcon.GetSelected ( | (number) nComboIconID ) |
Gets the current selection in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The o based index of the selected item, if no item is selected or any error -1 is returned.
(table) ComboIcon.GetSize ( | (number) nComboIconID ) |
Gets the size of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.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.
(number) ComboIcon.GetTextCol ( | (number) nComboIconID ) |
Gets the text color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value, is any error -1 is returned.
ComboIcon.GetUnpackPath () |
Gets the unpack path for the plugins external dll resource.
This action dose not return any value.
(boolean) ComboIcon.GetVisible ( | (number) nComboIconID ) |
Get the visible state of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(boolean) True if the button is visible, false if it's invisible. If an error occurs, false will be returned.
(number) ComboIcon.InsertItem ( | (number) nComboIconID, (number) Position, (string) Text, (number) IconID = nil ) |
Inserts an item to the Comboicon object.
Note: Unlike "ComboIcon.AddItem", the list is NOT sorted when a item is added.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position where to insert this item
(string) The text to add the the ComboIcon object.
Note: The icon will be automaticly resized to the default icon size for the ComboIcon object.
(number) The ID of the icon as returned with ComboIcon.LoadIcon
Note: The icon will be automaticly resized to the default icon size for the ComboIcon object.
You can change the default size of the displayed icon with "ComboIcon.SetIconSize".
(number) The return value is the zero-based index to the string in the list box of the combo box. If an error occurs, the return value is -1.
(number) ComboIcon.LoadIcon ( | (string) Path ) |
Loads an icon into memory for later use.
Note: Only .ico format is supported.
(string) The path to the folder you want to unpact the dll to.
(number) A numeric ID for the icon, if any error nil is returned.
ComboIcon.RemoveItem ( | (number) nComboIconID, (number) Position ) |
Removes an item from the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item to remove.
This action dose not return any value.
ComboIcon.Reset ( | (number) nComboIconID ) |
Removes all items from the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
This action dose not return any value.
ComboIcon.SetAlign ( | (number) nComboIconID, (number) Align ) |
Sets the text alignment of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The alignment to set.
CONSTANT | VALUE | DESCRIPTION |
CB_LEFT | 0 | Aligns the text to the left. |
CB_CENTER | 1 | Aligns the text to the center. |
CB_RIGHT | 2 | Aligns the text to the right. |
This action dose not return any value.
ComboIcon.SetBackCol ( | (number) nComboIconID, (number) Color ) |
Sets the background color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value.
This action dose not return any value.
ComboIcon.SetEnabled ( | (number) nComboIconID, (boolean) Visible ) |
Set the enabled state of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(boolean) True to show the object.
This action dose not return any value.
ComboIcon.SetIconSize ( | (number) nComboIconID, (number) Width, (number) Height ) |
Sets the icon size for the ComboIcon object.
Note: This is the global size for the icons and does not apply to individual items.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The width of the icon
(number) The height of the icon.
This action dose not return any value.
ComboIcon.SetItemHeight ( | (number) nComboIconID, (number) Height ) |
Sets the height of the ComboIcon items height.
Note: This is a globla height and does not apply to individual items
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The height of the items.
This action dose not return any value.
ComboIcon.SetItemIcon ( | (number) nComboIconID, (number) Position, (number) IconID ) |
Sets the IconID for the specified item in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item whos IconID to retrieve.
(number) The new IconID for this item.
This action dose not return any value.
ComboIcon.SetItemText ( | (number) nComboIconID, (number) Position, (string) Text ) |
Sets the text for the specified item in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item whos text to retrieve.
(string) The new text for this item.
Note: Multiline text is supported (\r\n)
This action dose not return any value.
ComboIcon.SetPos ( | (number) nComboIconID, (number) X, (number) Y ) |
Sets the position of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The X position of the object
(number) The Y position of the object.
This action dose not return any value.
ComboIcon.SetSelectBackCol ( | (number) nComboIconID, (number) Color ) |
Sets the selection background color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value.
This action dose not return any value.
ComboIcon.SetSelectTextCol ( | (number) nComboIconID, (number) Color ) |
Sets the selection text color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value.
This action dose not return any value.
ComboIcon.SetSelected ( | (number) nComboIconID, (number) Position ) |
Sets the current selection in the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The position of the item to select.
This action dose not return any value.
ComboIcon.SetSize ( | (number) nComboIconID, (number) Width, (number) Height ) |
Sets the size of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The width of the object
(number) The height of the object.
This action dose not return any value.
ComboIcon.SetTextCol ( | (number) nComboIconID, (number) Color ) |
Sets the text color of the combo.
(number) The numeric ID of the object as returned with ComboIcon.Create
(number) The decimal color value.
This action dose not return any value.
(string) ComboIcon.SetUnpackPath ( | (string) Path ) |
Sets the unpack path for the plugins external dll resource.
(string) The path to the folder you want to unpact the dll to.
(string)
ComboIcon.SetVisible ( | (number) nComboIconID, (boolean) Visible ) |
Set the visible state of the ComboIcon object.
(number) The numeric ID of the object as returned with ComboIcon.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