Updated: Dec 16, 2023
Follow on twitter

Storing of custom glyphs in a skin for using them in ImageList after a skin loading.

The ASkinEditor tool can pack custom users glyphs into the skin (*.asz file). After activating this skin, glyphs may be loaded in the ImageList for futher using in buttons, menus, etc. This feature may be used for showing of different set of glyphs for different skins.

For packing of users glyphs into a skin these glyphs must be named as 'ico_*.png' and copied into the skin sources directory. When skin will ne saved in the ASkinEditor, then all such 'ico_*.png' files will be saved in the skin too.

When skin is activated at the run-time, all stored glyphs may be loaded to the TsAlphaImageList component in the TsSkinManager.OnBeforeChange event. The working demo with sources of using such feature may be downloaded here .






Installing, using and licensing the demo programs © Sergii Goncharov, Ukraine, Odessa 2004-2023