TcxCustomImageList.AddIcon(TIcon) Method
Appends the specified icon to the image list.
Declaration
function AddIcon(AIcon: TIcon): Integer;
Parameters
Name | Type | Description |
---|---|---|
AIcon | TIcon | A source icon. |
Returns
Type | Description |
---|---|
Integer | The index of an icon passed as the AIcon parameter if the add operation is successful; otherwise, -1. |
See Also