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

TOPIC:

CT LAB ver 8.40 7 months 5 days ago #18433

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
I don't know if it's a bug, maybe it's just a matter of timing of the event.
This version should work:

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

CT LAB ver 8.40 7 months 4 days ago #18434

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
We test your project on Win11 but without Problems

 

 
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

CT LAB ver 8.40 7 months 4 days ago #18436

  • skrzat
  • skrzat's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 41
  • Thank you received: 1
Matis, you tested project by Vbxler, which is working for me too.
Please test my project. Code was was working on every CT version from years, but it isn't working on 8.4.

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

CT LAB ver 8.40 6 months 1 week ago #18469

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We release LAB CodeTyphon ver 8.40 Revision 008370

Please test and report ....
PilotLogic Architect and Core Programmer

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

CT LAB ver 8.40 6 months 1 week ago #18475

  • skrzat
  • skrzat's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 41
  • Thank you received: 1

Matis, you tested project by Vbxler, which is working for me too.
Please test my project. Code was was working on every CT version from years, but it isn't working on 8.4.
Still not fixed in revision 008370 :(

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

CT LAB ver 8.40 6 months 1 week ago #18476

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Sir what bug to fix ?

You put code in TabSheet1Show  and TabSheet2Show Procedures,
but TabSheet1 and  TabSheet2 are visible,
so, the events TabSheet1Show  and TabSheet2Show are NOT trigger. 

Put your code to TForm1.PageControl1Change


Procedure TForm1.PageControl1Change(Sender: TObject);
Begin
   Case PageControl1.ActivePageIndex Of
      0: Edit4.SetFocus;
      1: Edit2.SetFocus;
   End;
End;   


This Work OK

 
 
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

CT LAB ver 8.40 6 months 1 week ago #18479

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 173
  • Thank you received: 6
Updated to 8.40 rev. 008370 without problems on Windows 10, so far no problems found testing my projects.
Linux Mint computer is next but that will be in a week as I'm rather busy now.
Great job again guys!
Operating Systems Windows 11 and Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 8.40 6 months 1 week ago #18480

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Thanks Sir
PilotLogic Core Programmer

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

CT LAB ver 8.40 6 months 1 week ago #18481

  • skrzat
  • skrzat's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 41
  • Thank you received: 1

Put your code to TForm1.PageControl1Change
Procedure TForm1.PageControl1Change(Sender: TObject);
Begin
   Case PageControl1.ActivePageIndex Of
      0: Edit4.SetFocus;
      1: Edit2.SetFocus;
   End;
End;   


This Work OK


 

I can use PageControlChange instead of TabSheetShow, but bug is much "bigger".
I set focus on edit2 and edit4 in such way:
procedure TForm1.FormCreate(Sender: TObject);
begin
edit2.SetFocus;
edit4.SetFocus;
end;
When you change tabs, focus is changed to control which has TabOrder set to 0 (edit1 and edit3)
THIS is a bug :)
Attachments:

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

Last edit: by skrzat.

CT LAB ver 8.40 6 months 1 week ago #18482

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
No Sir  

The correct code is:

procedure TForm1.FormCreate(Sender: TObject);
begin
  edit2.SetFocus;
end;

procedure TForm1.PageControl1Change(Sender: TObject);
begin
  case PageControl1.ActivePageIndex of
    0: Edit2.SetFocus;
    1: Edit4.SetFocus;
  end;
end;  


procedure TForm1.FormCreate(Sender: TObject);
begin
  edit2.SetFocus;

  edit4.SetFocus; <<<==== this will NOT work, edit4 is NOT "visible" in the Form
end;
PilotLogic Core Programmer

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

Last edit: by Matis A..

CT LAB ver 8.40 6 months 1 week ago #18483

  • skrzat
  • skrzat's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 41
  • Thank you received: 1
OK, leave only this code
procedure TForm1.FormCreate(Sender: TObject);
begin
edit2.SetFocus;
end;


When you swtich to tabsheet2 and return to tabsheet1, focus is changed to edit1.
You can add more controls and notice, that switching to tabsheet sets focus to control which has taborder=0.
It is wrong behaviour. It should set focus on control with last focus.

Like I wrote earlier, everything works fine from first version of CT until 8.30.

EDIT:
To sum up...
When changing tabsheet to another and returning to previous tabsheet, focus is lost from control which had focus,to control with taborder=0

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

Last edit: by skrzat.

CT LAB ver 8.40 6 months 6 days ago #18484

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 173
  • Thank you received: 6
Installed 8.40 rev. 008370 on my Linux Mint computer as well and again no problems so far.
One thing I noticed and is annoying me: after installing a package a message window pops up with the question if I want to rebuild Codetyphon.
In Windows it shows the buttons in the message in the order Yes - No but in Linux the order of the buttons in the message window are reversed No - Yes, this is annoying if you switch Windows and Linux often.
When working in linux after a long period of Windows work I always have to watch as I automatically have the mouse pointer over the wrong button.
See the two screenshots attached.
Operating Systems Windows 11 and Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 8.40 6 months 5 days ago #18485

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Thanks Sir
We will check this and if is possible we will try to fixit.
PilotLogic Core Programmer

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

CT LAB ver 8.40 6 months 3 days ago #18489

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We release CodeTyphon ver 8.40 Final,
after 5 months of hard work.

My respect to LAB persons for this release.
My respect to "Matis" forum Moderator, our LAB dragon man...

Thanks to students of Local University,  for their help.
Thanks to ALL forum users for their help.

Have fun...
 
PilotLogic Architect and Core Programmer

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

CT LAB ver 8.40 6 months 3 days ago #18490

  • Jan Roza
  • Jan Roza's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 173
  • Thank you received: 6
Version  8.40 final installed on both Windows 10 and Linux Mint without any problems.
Tested some of my projects on both systems and so far no problems detected.
I think after the high rate of releases in the last months it's time for all of you to take some rest, you deserve it.
Great work you've done!
Operating Systems Windows 11 and Linux Mint (64-bit) and virtual Raspberry Pi Desktop

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

CT LAB ver 8.40 6 months 3 days ago #18491

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks My Frient
Have fun
PilotLogic Architect and Core Programmer

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

CT LAB ver 8.40 6 months 1 day ago #18495

  • Leonid
  • Leonid's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 40
  • Thank you received: 3
CT 8.40 tested using distribution Debian GNU/Linux 12 and Windows 10(VirtualBox).
Projects (gtk2, pl_RX, pl_FpSpreadsheet, lz_SQLdb(sqlite)), no problems found.
Some statistics in comparison with CT 8.3 for the same sources.
The operation of converting 615 LibreOffice Calc files into an SQLite database.
I ran the test 5 times, averaged the result and
the previous version 8.3 was 90 milliseconds faster;)

There is still a small nuance associated with the new version CT 8.4.
DBText behavior has changed. Instead of displaying real text, there is a "Memo" remark.
Unlike DBGrid, which has the "dgDisplayMemo=True" setting, for DBText the behavior cannot be changed.
A small example and an illustration based on it are attached

Best regards

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

CT LAB ver 8.40 6 months 2 hours ago #18498

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Give us time to test and report
PilotLogic Core Programmer

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

CT LAB ver 8.40 scrollbar 5 months 3 weeks ago #18501

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
Would it be possible to not hide the vertical scrollbar in the search results window?
In picture 1 you can see the scrollbar, in picture 2 I made it narrower and the scrollbar is hidden.
With the scrollbar you can clearly see that there are even more search results.
If the scrollbar is hidden, you have to hover over it with the mouse to see if there is more.

It's not a bug either, because it was programmed that way.
The behavior can be seen on Linux and Windows.

Thanks

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

CT LAB ver 8.40 scrollbar 5 months 3 weeks ago #18503

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Thanks Sir
We fix this

 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Vbxler

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

  • Page:
  • 1
  • 2