Jump to content

Lajos Juhász

Members
  • Content Count

    838
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lajos Juhász


  1. 1 hour ago, malobo said:

    Anyone has an idea of which could be the problem? Thank you

     

    There was a "problematic" check-in  to the codebase before the release of the Delphi 10.4.2 that was not detected in time. Some customers are already testing the hotfix that supposed to fix the bug.

     

    Unfortunately there is no public information what will this hotfix fix and if there is still some issues that requires another fix.


  2. 2 minutes ago, Vandrovnik said:

    I wonder if someone reads these sliding boxes.


    Maybe heroes from the Marvel Universe are capable to read fast enough and click I just get headache when for some reason get to the site.

    • Like 1

  3. Well they're in the process to make a unique web experience. It will take maybe another 10-15 years. When finished it will be the greatest. I just hope that it will be more static. I wonder who thinks that those sliding topics at https://blogs.embarcadero.com/ is useful! It slides out before you could click. What's wrong with the traditional sites where you can see the links and click on them? (I know most probably they bought this technology and must showcase it everywhere, I will just visit the site only when it is necessary.)

    • Like 2

  4. 3 minutes ago, Remy Lebeau said:

    TIdDecoderMIME is implemented in the IdCoderMIME unit, not in the IdGlobal unit.

    IdGlobal is required for the function IndyTextEncoding_UTF8. 


  5. This question has nothing to do with VCL and Memo. You should ask it in Delphi Third-Party -> Indy as you're using Indy to decode the data.

     

    Most probably your data is mailformed (I've tried to decode it using https://www.base64encode.org/ and the result there is: 如何讓 art-mate 成為) . 

     

    In order to decode UTF-8 characters you have to add idGlobal to the uses and call DecodeString:

    s3 := idDecoderMime1.decodeString(s2, IndyTextEncoding_UTF8)

     


  6. 28 minutes ago, Uwe Raabe said:

    Imagine the controls shifting around when one DFM is designed on several systems with different DPI.

    One cannot expect all developers in a team working in exactly the same environment. Merging changes in DFMs would be near to impossible.

    This is the reason I am hoping that there will be a longer then usual beta period for the new release. Even Delphi 10.4.2 still has a large number of problems due to the changes they made (internal errors and Access Violations).


  7. One way I found to achieve this is to use the fact that in the TCustomGrid.UpdateEdit procedure UpdateEditor will set the color of the editor to match the color of the grid:

     

    type TCrackGrid = class(TDBGrid);
    
    procedure TForm1.DBGrid1ColEnter(Sender: TObject);
    begin
      UpdateEditorColor
    end;
    
    procedure TForm1.FDQuery1AfterScroll(DataSet: TDataSet);
    begin
      UpdateEditorColor;
    end;
    
    procedure TForm1.UpdateEditorColor;
    begin
        if dbgrid1.SelectedField = fdQuery1Color then
        begin // Here is the code to setup the color of the inplace editor.....
          if odd(FDQuery1.RecNo) then
            dbgrid1.Color:=clRed
          else
            dbgrid1.Color:=clWhite;
       end
       else
         dbgrid1.Color:=clWhite;
    
        TCrackGrid(DBGrid1).InvalidateEditor;
    end;

     


  8. 7 minutes ago, PeterPanettone said:

    Is that meant for the WHOLE IDE or only for parts of the IDE?

    You define the manifest for the entire application, if it's implemented correctly for everything even the form designer should be DPI sensitive.

    Unfortunately we will have to wait for the first authorized posts from the beta testers to learn about it. Let's hope the beta will start soon.


  9. 9 hours ago, Jud said:

    If you think this message is wrong, please contact your JIRA administrators. " but I have no idea what JIRA is.

    Jira is the system portal thet is used (from the wikipedia: Jira (/ˈdʒiːrə/ JEE-rə) is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management).

    It will take user user name, not your e-mail. 

    https://quality.embarcadero.com/secure/Dashboard.jspa

    Logging in:

     


  10. 20 minutes ago, emailx45 said:

    You re-install the BPL just by going to: Components -> Install package and looking for the BPL in the "BIN" folder of your IDE. Or, if necessary, you can recompile the project found at: 😄 \ EMB \ RADStudio \ 200 \ source \ Tools \ FireUIAppPreview

     

    The message is clear: probably the BPL file or its dependent (DCP) does not exist in the indicated path. Just re-install using the process above and the IDE does the rest.


    In Delphi 10.4 the folder in source\tools\FireUIAppPreview contains a source of an application (hint it's LivePreview.dpr not LivePReview.dpk). Where I can find a tool to convert it to a bpl?


  11. 4 hours ago, ewong said:

    Can someone point out what I'm missing?  Have I misunderstood the SelectedRows property?

    You're trying to show the change on the dbgrid while using an event on the dataSource that's is triggered before the selection. You should display the selected rows from the events of the grid. In this case as the selection can be made by mouse or keyboard you could use the events OnKeyUp and OnMouseUp for the grid:

     

    procedure TForm1.DBGrid1KeyUp(Sender: TObject; var Key: Word; Shift:
        TShiftState);
    begin
      UpdateSelectedCount;
    end;
    
    procedure TForm1.DBGrid1MouseUp(Sender: TObject; Button: TMouseButton; Shift:
        TShiftState; X, Y: Integer);
    begin
      UpdateSelectedCount;
    end;
    
    procedure TForm1.UpdateSelectedCount;
    begin
     label2.Caption := 'Count = ' + IntToStr(dbgrid1.SelectedRows.Count);
    end;

     

×