[Lazarus] VirtualTreeView: new home, new release

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Jun 5 15:50:57 CEST 2016


Am 2016-06-05 um 14:56 schrieb Luiz Americo Pereira Camara:
 > 2016-06-05 7:52 GMT-03:00 Jürgen Hestermann <juergen.hestermann at gmx.de>:
 >     ----------------------
 >     if not FCheckBox then
 >        HeaderGlyphSize := Point(FImages.Width, FImages.Height)
 >     else
 >        HeaderGlyphSize := Point(Treeview.CheckImages.Height, Treeview.CheckImages.Height)
 >     ----------------------
 >     Why is "Height" used twice in the last line?
 > CheckImages changed from a ImageList to a Bitmap with all check images in a row. The Width of the bitmap has a different meaning from the imagelist one.
 > In the Bitmap is the sum of all checkimages Width
 > In the case the Width of each individual image matches Height, so the code.
 > Feel free to report any bug

I don't fully understand the changes regarding CheckImages but
if it is not a bug but desired behaviour then why should I report a bug?




More information about the Lazarus mailing list