ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TJamSystemImageList.CopySystemImageTo

Copies an image from the system image list to another imagelist.

Syntax
Pascal
class function CopySystemImageTo(pImageList: TCustomImageList; pIconNumber: Integer): Integer;
Parameters 
Description 
pImageList: TCustomImageList 
The destination image list to which the image should be copied.  
pIconNumber: Integer 
The icon number.  

The index of the copied image in the destination image list.

This function can be useful to circumvent problems that result in a wrong background color or transparency in case the system image list is used directly.