Einzelnen Beitrag anzeigen

WojTec

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

Re: Change one value + many OnChange events = stack overflow

  Alt 31. Dez 2011, 19:20
In HSLColorPicker.pas look for HSPickerChange(). Then change to:

Delphi-Quellcode:
procedure THSLColorPicker.HSPickerChange(Sender: TObject);
begin
 FLPicker.Hue := FHSPicker.HueValue;
// FLPicker.Saturation := FHSPicker.SaturationValue;
// DoChange;
end;
(lines 2 and 3 in this method is not needed any more, because creates problem I told in previous post).

  Mit Zitat antworten Zitat