[Lazarus] High-DPI TImageList

Ondrej Pokorny lazarus at kluug.net
Tue Feb 6 09:01:51 CET 2018


On 06.02.2018 7:00, Ondrej Pokorny via Lazarus wrote:
> On 05.02.2018 14:07, Werner Pamler via Lazarus wrote:
>> The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". 
>> Is this really absolutely necessary in all cases, for example if the 
>> imagelist contains only standard-resolution images?
>
> Fixed.
>
>> The problem is that once a form with an image list has been opened by 
>> Laz trunk it cannot be opened by Laz 1.8 or older any more without an 
>> error message and the need to remove this new entry.
>
> Feel free to improve the dialog.
>
>> In particular, this is an issue for third-party components where the 
>> author must be very careful to save demo forms with Laz 1.8, not with 
>> trunk.
>
> Lazarus is perfectly backwards compatible. E.g. If you want to support 
> 1.6, write your demos in 1.6 -> 1.8 and 1.9 will open your project 
> without problems.

Nevertheless ir was a bug that BitmapAdv was streamed even if not 
needed. Thanks for reporting :)

Ondrej


More information about the Lazarus mailing list