Memo with negative left value in databand

Hello,

I am using FastReport 5.4 but there is a problem with memo with a negative left value inside a databand (masterdata for example).

As soon as the memo has a negative value (-0.5 for example), this memo is not attach to the databand (and not correctly displayed...)

I checked in version 4.14 and the memo is correctly attach to the band if he has a negative left value.

Or maybe this is a change since version 5 or a new parameter to change ??

In the attached files, I just added a masterdata with 2 memos, 1 with positive value and 1 with negative value, and in version 5 the memo with negative value is out of the masterdata !


Thank you for your help !
Jerome

Comments

  • gpigpi
    edited 5:06AM
    Modify frxDesgnWorkspace.pas:
    if (c is TfrxView) and (c.AbsTop >= Bnd.Top - 1e-4) and (c.AbsTop < Bnd.Top + Bnd.Height + 1e-4) then
              if (((c.Left + 1e-4) < (Bnd.left + Bnd.Width)) and (c.Left > bnd.Left - 1E-4)) or (c.Left < 0) then //change this line
                begin
                  SaveRestrictions := c.Restrictions;
    

Leave a Comment