mit folgender Änderung kann man im Freereport einen Rich-Edit text auf Breaked=true setzen, ohne dass eine Zugriffsverletzung kommt. Inwiefern diese Änderungen andere Funktionen beeinflusst kann ich nicht 100% sagen, ich habe aber keine Probleme gefunden.
alter Source:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
| function TfrBand.Draw: Boolean; var b: TfrBand; begin Result := False; CurView := View; CurBand := Self; AggrBand := Self; CalculatedHeight := -1; |
neuer Source:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
| function TfrBand.Draw: Boolean; var b: TfrBand; begin Result := False; if View<>nil then CurView := View; CurBand := Self; AggrBand := Self; CalculatedHeight := -1; |