Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: luca on October 23, 2021, 03:06:16 pm

Title: BUG FIX to set HideZeroValues Flag in LazDesigner
Post by: luca on October 23, 2021, 03:06:16 pm
HideZeroValues Flag is set to False as default value.
If you change it to True is not possible to set it back to False.

I found this bug in frClass unit
Code: Pascal  [Select][+][-]
  1. procedure TfrCustomMemoView.SetHideZeroValues(AValue: Boolean);
  2. begin
  3.   if WordBreak<>AValue then
  4.     ModifyFlag(flHideZeros, AValue);
  5. end;
  6.  

To correct the bug you need to change it in
Code: Pascal  [Select][+][-]
  1. procedure TfrCustomMemoView.SetHideZeroValues(AValue: Boolean);
  2. begin
  3.   if HideZeroValues<>AValue then
  4.     ModifyFlag(flHideZeros, AValue);
  5. end;              
  6.  

Regards
Luca
Title: Re: BUG FIX to set HideZeroValues Flag in LazDesigner
Post by: zeljko on October 26, 2021, 10:38:45 am
Pls open an issue about it.
TinyPortal © 2005-2018