[Lazarus] New Image Lists question

Vojtěch Čihák vojtech.cihak at atlas.cz
Wed May 23 16:07:22 CEST 2018


Hi,
 
I have application where user can choose size of toolbars, i.e. I have several image lists named IL16, IL20, IL24, IL32, IL48 and I switch them in property TToolBar.Images. In meanwhile, TImageList was redesigned to work with hi-DPI desktops.
Now, I can load more images to each imagelist, with suffix _150 and _200. But it will cause dupicities, because icon16_150 and icon16_200 will have size 24 and 32 respectively, which are already stored in IL24 and IL32.
 
Question is: how can I do it without duplicities?
 
Thanks, V.


More information about the Lazarus mailing list