SetLabelMarginActive
Using D10.2.3
-
I had to disable $IFDEF INCLUDE_FORMDESIGNER since I could not find SetLabelMarginActive
-
where did you define COMPILER6_UP since nor Jedi (latest) nor you could find it.??
-
in Jedi there is {$IFDEF DELPHI6} {$DEFINE DELPHI6_UP} {$ENDIF}
Where do I find your options in the IDE? In options?
In the jedi\jedi.inc file there is
{$IFDEF VER140} {$DEFINE COMPILER6}
and
{$IFDEF COMPILER6} {$DEFINE COMPILER6_UP} {$ENDIF}
And then there is
{$IFDEF COMPILER27_UP} {$DEFINE COMPILER26_UP} {$ENDIF}
{$IFDEF COMPILER26_UP} {$DEFINE COMPILER25_UP} {$ENDIF}
{$IFDEF COMPILER25_UP} {$DEFINE COMPILER24_UP} {$ENDIF}
{$IFDEF COMPILER24_UP} {$DEFINE COMPILER23_UP} {$ENDIF}
{$IFDEF COMPILER23_UP} {$DEFINE COMPILER22_UP} {$ENDIF}
{$IFDEF COMPILER22_UP} {$DEFINE COMPILER21_UP} {$ENDIF}
{$IFDEF COMPILER21_UP} {$DEFINE COMPILER20_UP} {$ENDIF}
{$IFDEF COMPILER20_UP} {$DEFINE COMPILER19_UP} {$ENDIF}
{$IFDEF COMPILER19_UP} {$DEFINE COMPILER18_UP} {$ENDIF}
{$IFDEF COMPILER18_UP} {$DEFINE COMPILER17_UP} {$ENDIF}
{$IFDEF COMPILER17_UP} {$DEFINE COMPILER16_UP} {$ENDIF}
{$IFDEF COMPILER16_UP} {$DEFINE COMPILER15_UP} {$ENDIF}
{$IFDEF COMPILER15_UP} {$DEFINE COMPILER14_UP} {$ENDIF}
{$IFDEF COMPILER14_UP} {$DEFINE COMPILER12_UP} {$ENDIF}
{$IFDEF COMPILER12_UP} {$DEFINE COMPILER11_UP} {$ENDIF}
{$IFDEF COMPILER11_UP} {$DEFINE COMPILER10_UP} {$ENDIF}
{$IFDEF COMPILER10_UP} {$DEFINE COMPILER9_UP} {$ENDIF}
{$IFDEF COMPILER9_UP} {$DEFINE COMPILER8_UP} {$ENDIF}
{$IFDEF COMPILER8_UP} {$DEFINE COMPILER7_UP} {$ENDIF}
{$IFDEF COMPILER7_UP} {$DEFINE COMPILER6_UP} {$ENDIF}
Well I might be wrong but I have D10.2.3 and I never reach v140 so {$IFDEF VER320} // RAD Studio 10.2 {$DEFINE BDS} {$DEFINE BDS19} {$DEFINE COMPILER25} {$IFDEF BCB} {$DEFINE BCB25} {$ELSE} {$DEFINE DELPHI25} {$DEFINE DELPHIX_TOKYO} // synonym to DELPHI25 {$DEFINE DELPHICOMPILER25} {$ENDIF BCB} {$DEFINE RTL320_UP} {$UNDEF UNKNOWN_COMPILER_VERSION} {$ENDIF VER320}
!!!!!!!!!!!!!!!!! and I had to disable $IFDEF INCLUDE_FORMDESIGNER since I could not find SetLabelMarginActive
I also have Delphi 10.2.3. It defines COMPILER25 (because of VER320) and then due to COMPILER25 COMPILER25_UP is defined and then the $IFDEF COMPILER25_UP} {$DEFINE COMPILER24_UP} {$ENDIF} defines the COMPILER24_UP that then defines COMPILER23_UP and so on until COMPILER6_UP is reached.
So my guess is that you have a very old jedi.inc file somewhere it the search path.
You could do a "git submodule update --init" to use the "jedi" submodule in the repository.
SetLabelMarginActive is declared in the unit LabelMarginHelper.pas but only if COMPILER10_UP (Delphi 2006) is defined. So my guess is that the compiler uses a different jedi\jedi.inc file that is broken or very old.
P.S i am using consol for testing
This dpr makes a BUG DFM_Check.txt
DFMCheck is a different project. And the DFMCheck console tool is written in Delphi XE.
Your jedi.inc files seams correct. Maybe the compiler uses a different jedi.inc file. You could check that by using Microsoft's ProcessMonitor tool.
well I am a Delphi professional since #1 That what I can say. As for DFMCheck sorry to make this error here. It is for me the same publisher. sorry. do you want to open the error in the right place? Delphi uses the above jedi since I put it in YOUR DIRECTORY. Before that I had a compile ERROR !!!