Working with image lists

[Top]  [Chapter]  [Previous]  [Next]

 

Please create a new image list using the "New Element" button.

 

Now type in a name, such as "STDBUT"

 

Now select the format of the image list, 16*16 or 24*24 pixels. Now you can use the button "Load Image" to load a PNG file which contains the button images.

 

Please note:

only PNG files can be loaded.
the width of the PNG file must be the same as the selected format (16 or 24 pixels)
the height must be N times the selected with
It is not possible to append images lists. If you need to do this you will need to use the graphic application to create a new, higher PNG file. You can load this file after you have used the button "Clear".

 

The DLL will select the images using the name and the size. It is best to provide 16*16 and 24*24 image lists under the same name - the engine will use the list which better matches the selected toolbar size.

 

clip0059

 

The button "Show List" will open a non modal dialog which displays the current list with the image numbers. This widow will come in handy when you need to compare imagelists.

 

The EditLayout XML Editor will always display the image list which was opened last on the right hand side. This helps to use the right image index for the button XML tags.


[workingwithimagelists.htm]    Copyright © 2007 by WPCubed GmbH