Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi [mbColorLib] TmbColorPalette - freezes application (https://www.delphipraxis.net/166549-%5Bmbcolorlib%5D-tmbcolorpalette-freezes-application.html)

WojTec 17. Feb 2012 19:40

[mbColorLib] TmbColorPalette - freezes application
 
Today I detected some bug in TmbColorPalette from mbColorLib (I spent over 4h to find it, I thought that is bug in my code...).
I have aligned it to top and enabled autoheight feature. When zero colors added, component freezes application! Do you have also this problem? Did you fixed it?

My temporary fix is in OnColorsChange:

Delphi-Quellcode:
const
  A: array [Boolean] of TAlign = (alNone, alTop);

Palette.Align := A[Palette.Colors.Count > 0];
but this is not final solution. Could you help?


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:05 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz