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

TOPIC:

CT LAB ver 6.70 5 years 4 months ago #12973

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

VarBaseDockMaster:=TGlassDockMaster.Create(self);
//in your app
// Write
VarBaseDockMaster.LoadDefaultSettings;

until we fix this
PilotLogic Architect and Core Programmer

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

CT LAB ver 6.70 5 years 4 months ago #12974

  • joony3
  • joony3's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Sorry Sir,
but nothing changed after adding "VarBaseDockMaster.LoadDefaultSettings;" where you said.

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

CT LAB ver 6.70 5 years 4 months ago #12975

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Try to replace
C:\codetyphon\typhon\components\pl_GlassDocking\source\gd_dockingbase.pas
with this one
PilotLogic Architect and Core Programmer

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

CT LAB ver 6.70 5 years 4 months ago #12976

  • joony3
  • joony3's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
no...still red lines like before...

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

CT LAB ver 6.70 5 years 4 months ago #12977

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
More info for your app Sir
PilotLogic Architect and Core Programmer

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

CT LAB ver 6.70 5 years 4 months ago #12978

  • joony3
  • joony3's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
See attachment.
It's a modified version of dockpanel1 example in code ocean.

Thanks,
J

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

CT LAB ver 6.70 5 years 4 months ago #12979

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir in your app
the docked forms have custom FormPaint event with clRED color (Pen.Color:=clRed;)

dummyfrm.pas line 64
procedure TSimpleForm.FormPaint(Sender: TObject);
begin
  with Canvas do begin
    Pen.Color:=clRed;   // <<<====== THIS ======
    MoveTo(0,0);
    LineTo(ClientWidth-1,0);
    MoveTo(ClientWidth-1,ClientHeight-1);
    MoveTo(0,ClientHeight-1);
    MoveTo(0,0);
    MoveTo(ClientWidth-1,ClientHeight-1);
  end;
end;

So, red color lines are normal
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: joony3

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

Last edit: by Sternas Stefanos.

CT LAB ver 6.70 5 years 4 months ago #12980

  • joony3
  • joony3's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
so sorry sir for this misunderstanding.
Now I've removed paint event...
Thanks anyway for you speed!

now...another thing...I see the new dock minimize button disappears sometimes...See screenshots.

J.

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

CT LAB ver 6.70 5 years 4 months ago #12981

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
This is default functionality.
Only one form can "Minimize" at the same TGlassDockHostSite
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 6.70 5 years 4 months ago #12982

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
First: Thank you for your great work!
Second: Please look at the attached image; it shows the "as is" state.
I believe, it should be the other way. :-)
Attachments:

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

CT LAB ver 6.70 5 years 4 months ago #12983

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we fix it

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 6.70 5 years 4 months ago #12993

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We release
LAB CodeTyphon Ver 6.7 Revision 006675

Please test, report and have fun.
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: xcod, Manos S. Pappas

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

CT LAB ver 6.70 5 years 3 months ago #13000

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
Compile - Ctrl+F9
and
Build - Shift+F9
both build the project (the EXE file)

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

CT LAB ver 6.70 5 years 3 months ago #13001

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we will try to fix and this
PilotLogic Architect and Core Programmer

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

CT LAB ver 6.70 5 years 3 months ago #13009

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Visitor
  • Visitor
in actual Lab IDE-Hotkey will not work. e.g. no reaction when pressing STRG+Blank or Shift-Strg-Up/Down
Worked fine in 6.6.

It's on Mint 19.1 64 Bit

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

Last edit: by Klaus Riesterer.

CT LAB ver 6.70 5 years 3 months ago #13010

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
I thing we fix that in current Unreleased Lab CT version
On Debian64 9.6 (now) all are OK
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 6.70 5 years 3 months ago #13016

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We release
LAB CodeTyphon Ver 6.7 Revision 006680 RC3

Please test, report and have fun.
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: xcod

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

CT LAB ver 6.70 5 years 3 months ago #13017

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
Thanks and happy new year!

Some quick findings:

Build and compile both build the project.

The assembly window pops up during single step.
This happens preferrably when window event methods are singlestepped or threads are singlestepped.
It does not happen with fpdebug internal.

Windows 10, Typhon 6.7, 64 bit.

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

Last edit: by Peter Heckert.

CT LAB ver 6.70 5 years 3 months ago #13018

  • Matis A.
  • Matis A.'s Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Posts: 1060
  • Thank you received: 149
Thanks Sir
after update GDB to 8.2.1 (CT revision 006680) we start full debug test cycles,
we check (again) and FreePascal Source code....

We will NOT release CT 6.7 final, if we don't solve these problems,
all other Lab tasks are closed.
PilotLogic Core Programmer
The following user(s) said Thank You: Peter Heckert

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

CT LAB ver 6.70 5 years 3 months ago #13019

  • Leonid
  • Leonid's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 3
Changes from previous releases.

Example: CodeOcean/Database/samples/sqlite3lookupcombobox/ runtime error.

Compiling a project without errors, but running causes an exception ' ESyncObjectExeption '
with the message ' Failed to create OS basic event with name "" '

If you add a line ' {$DEFINE UseCThreads} 'to the file ' sqlite3lookupcombobox.ppr '
the program works fine

It seems to be related to pl_ZeosDBO ZClasses:

{ TZThreadTimer }

constructor TZThreadTimer.Create;
begin
inherited Create;
FSignal := TSimpleEvent.Create;
end;

Thanks to all your team for a great tool.

It's on Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Typhon 6.7 r60042 FPC 3.3.1 x86_64-linux-gtk2

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