Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

[mbColorLib] TmbColorPalette - freezes application

  Alt 17. Feb 2012, 19:40
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?

Geändert von WojTec (17. Feb 2012 um 19:45 Uhr) Grund: Info
  Mit Zitat antworten Zitat