![]() |
Re: Change one value + many OnChange events = stack overflow
I know - it's bug in THSLColorPicker component, calling a few times DoChange procedure - 3 times instead 1 in spectrum box and 1 or 2 in brightness trackbar! God!
I'll try detect with calls are not needed. |
Re: Change one value + many OnChange events = stack overflow
In HSLColorPicker.pas look for HSPickerChange(). Then change to:
Delphi-Quellcode:
(lines 2 and 3 in this method is not needed any more, because creates problem I told in previous post).
procedure THSLColorPicker.HSPickerChange(Sender: TObject);
begin FLPicker.Hue := FHSPicker.HueValue; // FLPicker.Saturation := FHSPicker.SaturationValue; // DoChange; end; :-D |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:51 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz