× Lab CT Version, news, test results, new features request and suggestions

Question CT LAB ver 7.20

  • Fernando
  • Away
  • Junior Boarder
  • Junior Boarder
More
2 weeks 6 days ago #15045 by Fernando
Replied by Fernando on topic CT LAB ver 7.20
Dears,
Thank you. However, the issue reported in www.pilotlogic.com/sitejoom/index.php/fo....html?start=40#14837
is still unsoved. Please, could you try to solve it? It's a stumbling block for me.
Thanks

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 6 days ago - 2 weeks 6 days ago #15046 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
@Jan Roza
Thanks Sir
we will try to solve this

@Fernando
the problem is in TsSpreadsheetGrid
we will try to fix-it

PilotLogic Architect and Core Programmer
Last edit: 2 weeks 6 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 6 days ago - 2 weeks 6 days ago #15047 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
@Jan Roza
Please

1) Go to FortesReport page and locate TRLPreviewSetup component

2) Put on your form a TRLPreviewSetup component

3) Set TRLPreviewSetup component property WindowState to wsMaximized




PilotLogic Architect and Core Programmer
Attachments:
Last edit: 2 weeks 6 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #15048 by Premysl Beran
Replied by Premysl Beran on topic CT LAB ver 7.20
Hi,

I tried cross-compile from macOS to Win and Linux. The downloaded the toolchains and compiled them. The FPC cross-compile went successfully for x86_64-win64, i386-linux, i386-win32. But when I tried to compile my code it sais:
Compile package adFCL 7.2.1: Exit code 1, Errors: 1
Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127

When I used version 7.14 with it worked fine with your update:

Sternas Stefanos wrote: We try to solve CrosBuild scripts problems
just replace
/usr/local/codetyphon/ScriptsLin/crossbuild/*.*
with attach files

Tested
mac64-i386-linux OK
mac64-i386-win32 OK
mac64-x86_64-win64 OK

mac64-x86_64-linux ERROR
mac64-x86_64-freebsd ERROR
mac64-arm-android ERROR
mac64-aarch64-android ERROR

to be continue...


x86_64-linux still not working.

With best regards

Premek

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 5 days ago - 2 weeks 5 days ago #15049 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
We try to solve this Sir
It's NOT only CodeTyphon Problem,
it's and Apple MacOS linker problem...

PilotLogic Architect and Core Programmer
Last edit: 2 weeks 5 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #15050 by Jan Roza
Replied by Jan Roza on topic CT LAB ver 7.20
Thank you Sternas!
I never used that TRLPreviewSetup before but indeed that works fine.
Programming since 1978 and I still learn every day. :-)

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #15051 by Premysl Beran
Replied by Premysl Beran on topic CT LAB ver 7.20
Hi Sternas,

I understand that it is not easy with macOS. I'm also quite new to it. I appreciate your effort.

Premek

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 5 days ago - 2 weeks 5 days ago #15052 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
We will solve and this problem Sir
please give us time.
CrossBuild on MacOS is NOT so Simple

The second problem is the future of MacOS.
We spent a lot of LAB programming hours (and money) for this OS,
it's worth it ?

PilotLogic Architect and Core Programmer
Last edit: 2 weeks 5 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 5 days ago - 2 weeks 5 days ago #15053 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20

Fernando wrote: Dears,
Thank you. However, the issue reported in www.pilotlogic.com/sitejoom/index.php/fo....html?start=40#14837
is still unsoved. Please, could you try to solve it? It's a stumbling block for me.
Thanks


@Fernando

Just replace the old codetyphon\typhon\components\pl_FPSpreadsheet\
directory with New pl_FPSpreadsheet version 7.3.1
Download from here

Rebuild the Typhon IDE if needed

PilotLogic Architect and Core Programmer
Last edit: 2 weeks 5 days ago by Sternas Stefanos.
The following user(s) said Thank You: Fernando

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #15054 by Jan Roza
Replied by Jan Roza on topic CT LAB ver 7.20
Found one more bug that was reported before but apparently not solved yet.
In Reports (TfrReport) the system variable TOTALPAGES always prints 0 instead of the real number of pages in the report.

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 5 days ago #15055 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
Any sample to work with

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #15057 by Jan Roza
Replied by Jan Roza on topic CT LAB ver 7.20
Attached is a sample program with report.Running it you can see the footer shows "Page 1 of 0", "Page 2 of 0" and so on.

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 3 days ago #15058 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
Give us time...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 2 days ago - 2 weeks 2 days ago #15063 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
@Jan Roza

The lz_Report pkg has NO problem
Just add to your project one logical line

procedure TForm1.Button1Click(Sender: TObject);
begin
  frReport1.DoublePass:=true;   //<<=======
  frReport1.ShowReport;
end;






PilotLogic Architect and Core Programmer
Attachments:
Last edit: 2 weeks 2 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #15064 by Jan Roza
Replied by Jan Roza on topic CT LAB ver 7.20
Thank you Sternas, once again …... still learning new tricks every day. :-)

Operating Systems Windows 10 (64-bit) and virtual Linux Mint (64-bit)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 2 days ago #15065 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.20
We learning together
have fun

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago - 1 week 6 days ago #15079 by LuZZZZi
Replied by LuZZZZi on topic CT LAB ver 7.20
I'm using CT on a Pi with an 64 bit Debian. During a recompile of CT I got an error and I have changed the following lines.
1) BCKeyboard on line: 163, 178
2) BCNumericKeyboard on line: 111, 122, 134
{$IFDEF CPUX86_64} --> {$IF defined(CPUX86_64) or defined(CPUAARCH64)}
After this changes the compile process was successful.
These changes are not tested.
Take a look please.


Thx
Last edit: 1 week 6 days ago by LuZZZZi.

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #15081 by Matis A.
Replied by Matis A. on topic CT LAB ver 7.20
Thanks
give us time to test and fix

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #15093 by fredvs
Replied by fredvs on topic CT LAB ver 7.20
Hello.

I try to install v 7.20 on Linux Debian 10 64 bit multi-arch.

Trying to build Code Typhon with multi-arch disabled gives that error:
------------------------------------------------
        Copy FreePascal 64
------------------------------------------------
   
[FINAL INFO]: FreePascal 64 Building, finish...
   
   
==============================================================
  Build Typhon64 Small IDE x86_64-linux-gtk2 for Linux
==============================================================
   ...
   
   
--------------------------------------------
       Clean Typhon IDE Setings
--------------------------------------------
   
[INFO]: Clean Typhon64 IDE Setings finish
   
   
--------------------------------------------
   Restore Typhon Default IDE Setings
--------------------------------------------
   
[INFO]: Restore Typhon64 Settings finish
   
make -C packager/registration
make[1] : on entre dans le répertoire « /usr/local/codetyphon/typhon/packager/registration »
/usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu
/usr/bin/mkdir -p ../units/x86_64-linux
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/lib/fpc/3.3.1/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/fpc.cnf
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/fpc.cnf
Free Pascal Compiler version 3.3.1 [2020/09/13] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling fcllaz.pas
(10001) PPU Loading /usr/local/codetyphon/fpc/fpc64/units/x86_64-linux/fcl-db/db.ppu
(10011) PPU Source: db.pas not available
(10011) PPU Source: dataset.inc not available
(10011) PPU Source: fields.inc not available
(10011) PPU Source: datasource.inc not available
(10011) PPU Source: database.inc not available
(10011) PPU Source: dsparams.inc not available
(10028) Recompiling DB, checksum changed for /usr/lib/fpc/3.3.1/units/x86_64-linux/rtl/classes.ppu
/usr/local/codetyphon/typhon/packager/registration/fcllaz.pas(11,3) Fatal: (10022) Can't find unit DB used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [Makefile:2892: fcllaz.ppu] Error 1
make[1] : on quitte le répertoire « /usr/local/codetyphon/typhon/packager/registration »
make: *** [Makefile:3605: registration] Error 2
mv: impossible d'évaluer 'typhon': Aucun fichier ou dossier de ce type
mv: impossible d'évaluer 'typhonstart': Aucun fichier ou dossier de ce type
mv: impossible d'évaluer 'typhonbuild': Aucun fichier ou dossier de ce type
mv: impossible d'évaluer 'tools/ctres': Aucun fichier ou dossier de ce type
mv: impossible d'évaluer 'tools/ctlrstofrm': Aucun fichier ou dossier de ce type
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 Small IDE x86_64-linux-gtk2 NOT Build
??????????????????????????????????????????????????????????
   
==============================================================
   Build Typhon64 BIG IDE x86_64-linux-gtk2 for Linux
==============================================================
   
   
[ERROR]: Sorry, Typhon64 from Small-IDE NOT Build
         please remove and build Typhon again...
   
   

But compiling CT 7.20 with multi-arch enabled, then Typon IDE 32 bit build OK but Typon 64 fail to build.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #15094 by Matis A.
Replied by Matis A. on topic CT LAB ver 7.20
Please
remove the second FPC installation from
/usr/lib/fpc/

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.