| Search Locate Previous Next | Contents |
Description
Creates an imagelist for use by trees and list-view controls. Make sure it is in the tab-order before any control that uses it!
Icons a vector of icon names (simple vector acceptable).
IconSize required size (larger icons are scaled).
Masked set this to 0 for solid colour artwork
SeeThru use to switch the transparent colour from light grey
Assign its name on CR then use this as argument to the SetImage function on either the Tree or the ListView. Note that you will need 2 separate lists at different sizes if you need to show both Icon and Small Icon views in the listview.
You can use external icon objects (xx.ICO files), or it may be more convenient to make a bitstrip in the workspace using the picture editor in which case the default is to use light grey as the transparent colour. If your icons use grey as a genuine colour, you might like to set the SeeThru colour to 13 (bright pink) and use this to mark the transparent areas.
Class Property Table
| Name | Type | Default | Description |
| Icons | Runtime | Vector of Icon names | |
| IconSize | Int | 16 | Scale icons to this size |
| Masked | Bool | 1 | Make transparent images |
| SeeThru | Int | 8 | Colour used as transparent in bitmaps |