Jump to content

Lajos Juhász

Members
  • Content Count

    813
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lajos Juhász


  1. I sometimes also get a bug that the selected property shows a value of a different property. I cannot enter a bug report as it's impossible to find out when that can happen. Also search in D12 is working even worse than in Delphi 11.2, here also I have had no time to create an example.

     

    I hope we can get a fix for some issues soon as we're moving to beta phase of our application.


  2. In order to work with jpg image format you must add the  jpeg unit to your uses.

     

    IF you add a TImage named imgName then you can write:

     

    imgName.Picture.LoadFromFile('D:\Delphi_11_Community\MyProjects\Dinobase\dino_images\'+ sName + '.jpg');


  3. 11 hours ago, PeterPanettone said:

    Why does the Quality Portal have so many errors and shortcomings, like a very narrow report editor?

     

    I believe that's the part of the new Embarcadero policy. 0 bugs in Delphi 12 due to the fact that we  cannot report any new bugs.

    • Like 1
    • Haha 1

  4.   while not SQLQuery1.Eof do
      begin
        currentLine := '';
    	for i := 0 to sqlQuery1.fieldcount-1 do
      	  currentLine := currentLine + ' ' + sqlQuery1.fields[i].asString;
         memOutput.Lines.Add(currentLine);
         SQLQuery1.Next;
       end;

    The above code doesn't require the Stringlist to iterate the fields of the query.

     

     

    To add a database the documentation states it should be a form of (https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_SQLite_with_FireDAC):

     

    Database=<path to SQLite database>

    While you've tried: 

    SQLConnection1.Params.Add('D:Delphi 11 Community\My Projects\Connecting to SQLite\Data\dat2.sqlite');

    You should do

     

    SQLConnection1.Params.Add('Database = ');  append here the real path to the database.

     

     

    I believe instead of MemOutput.ClearSelection you wanted MemOutput.Clear.


  5. 34 minutes ago, gioma said:

    Could you explain better what I should do? Thank you

    In my case I've renamed the folder "C:\Program Files (x86)\Embarcadero\Studio\23.0" to "C:\Program Files (x86)\Embarcadero\Studio\!23.0" started Delphi 11.2 Closed it, renamed back the folder since then I can start both versions.

×