Welcome, Guest
Username: Password: Remember me
Lab CT Version, news, test results, new features request and suggestions

TOPIC:

CT LAB ver 7.20 3 years 7 months ago #15045

  • Fernando
  • Fernando's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 0
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.

CT LAB ver 7.20 3 years 7 months ago #15046

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
@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

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15047

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
@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:

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15048

  • Premysl Beran
  • Premysl Beran's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
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.

CT LAB ver 7.20 3 years 7 months ago #15049

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We try to solve this Sir
It's NOT only CodeTyphon Problem,
it's and Apple MacOS linker problem...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15050

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 158
  • Thank you received: 6
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 7.20 3 years 7 months ago #15051

  • Premysl Beran
  • Premysl Beran's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
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.

CT LAB ver 7.20 3 years 7 months ago #15052

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
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

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15053

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101

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
The following user(s) said Thank You: Fernando

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15054

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 158
  • Thank you received: 6
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 7.20 3 years 7 months ago #15055

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Any sample to work with
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.20 3 years 7 months ago #15057

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 158
  • Thank you received: 6
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), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 7.20 3 years 7 months ago #15058

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Give us time...
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.20 3 years 7 months ago #15063

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
@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:

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.20 3 years 7 months ago #15064

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 158
  • Thank you received: 6
Thank you Sternas, once again …... still learning new tricks every day. :-)
Operating Systems Windows 10 (64-bit), virtual Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 7.20 3 years 7 months ago #15065

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We learning together
have fun
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.20 3 years 7 months ago #15079

  • LuZZZZi
  • LuZZZZi's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 78
  • Thank you received: 1
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

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

Last edit: by LuZZZZi.

CT LAB ver 7.20 3 years 7 months ago #15081

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1060
  • Thank you received: 149
Thanks
give us time to test and fix
PilotLogic Core Programmer

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

CT LAB ver 7.20 3 years 7 months ago #15093

  • fredvs
  • fredvs's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
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.

CT LAB ver 7.20 3 years 7 months ago #15094

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1060
  • Thank you received: 149
Please
remove the second FPC installation from
/usr/lib/fpc/
PilotLogic Core Programmer

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