Jump to content

zed

Members
  • Content Count

    43
  • Joined

  • Last visited

Posts posted by zed


  1. I see that there are no formatting settings, and the code is written in Rust. I’m wondering who else might find this useful besides your internal team?

     

    What made you choose Rust for a Delphi code formatter? Just wanted to try out Rust, or was there more to it?

    • Thanks 1

  2. I have the same problem with EmbeddedWB. There is something bad in the component initialization code, because application start crashing after you add just one EmbeddedWB unit to your uses list.

     

    unit Unit1;
    
    interface
    
    uses
      Winapi.Windows, Winapi.Messages, System.Variants, System.Classes, Vcl.Graphics,
      Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.OleCtrls,
      EmbeddedWB, // !!!
      System.SysUtils;
    
    type
      TForm1 = class(TForm)
        Button1: TButton;
        procedure Button1Click(Sender: TObject);
      end;
    
    var
      Form1: TForm1;
    
    implementation
    
    {$R *.dfm}
    
    procedure TForm1.Button1Click(Sender: TObject);
    begin
    //  var EmbeddedWB1 := TEmbeddedWB.Create(Self);
    //  EmbeddedWB1.Navigate(ExtractFilePath(Application.ExeName)+ '..\..\test.htm');
    end;
    
    end.

     


  3.     {$IF CompilerVersion > 34}
          // The default font changed from "Tahoma, 8 pt" to "Segoe UI, 9 pt"
          // starting with Delphi 11. This increased the text size by 2 pixels.      
          Application.DefaultFont.Name := 'Tahoma';
          Application.DefaultFont.Size := 8;
        {$ENDIF}

    Try this fix (insert code into your .dpr file).

×