Req: CRLF in ZPropertyEditor.pas

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
delphinator
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 17.12.2009, 14:56

Req: CRLF in ZPropertyEditor.pas

Post by delphinator »

Hi Forum,

apperently I got errors when using zeoslib with RaveReport 7.
I got a conflict with a function named "CrLf" in RpBase.pas.
So can't we change these corresponding lines in ZPropertyEditor.pas ?
(lines 170 ff.)

const
CRLF = LineEnding;

...
into eg.

const
zCRLF = LineEnding;

... etc.

Bernhard
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

What about

Code: Select all

Index: ZPropertyEditor.pas
===================================================================
--- ZPropertyEditor.pas	(revision 743)
+++ ZPropertyEditor.pas	(working copy)
@@ -168,9 +168,6 @@
   end;
 {$ENDIF}
 
-const
-  CRLF = LineEnding;
-
 {$ENDIF}
 
 implementation
@@ -194,6 +191,9 @@
 {$ENDIF SHOW_WARNING} 
 ;
 
+const
+  CRLF = LineEnding;
+
 {$IFDEF FPC}
 procedure GetItemNames(FieldDefs: TFieldDefs; List: TStrings); overload;
 var
which moves the definition into the implementation part of the unit?

Mark
Image
Locked